diff options
author | Noritaka IZUMI <38166104+noritakaIzumi@users.noreply.github.com> | 2020-12-29 12:14:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-29 12:14:01 +0300 |
commit | ba1d6014d946806f0b3fb6f1af5bd4c587144c5f (patch) | |
tree | c945dc822546330759cf5f5727c52e16d348369a | |
parent | 73f759b2b6e96805bb6ea441610a7869ec7d08d2 (diff) |
Change the behavior of card links (#187)
-rw-r--r-- | layouts/partials/cards/project.html | 2 | ||||
-rw-r--r-- | layouts/partials/cards/skill.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/cards/project.html b/layouts/partials/cards/project.html index 3f21d31..5072227 100644 --- a/layouts/partials/cards/project.html +++ b/layouts/partials/cards/project.html @@ -4,7 +4,7 @@ > <div class="card mt-1"> <div class="card"> - <a class="card-header" href="{{ if .repo }}{{ .repo }}{{ else if .url }}{{ .url }}{{ else }}#{{ end }}"> + <a class="card-header" href="{{ if .repo }}{{ .repo }}{{ else if .url }}{{ .url }}{{ else }}javascript:void(0){{ end }}"> <div> <div class="d-flex"> {{ if .logo }} diff --git a/layouts/partials/cards/skill.html b/layouts/partials/cards/skill.html index 4478e1e..21070b6 100644 --- a/layouts/partials/cards/skill.html +++ b/layouts/partials/cards/skill.html @@ -1,5 +1,5 @@ <div class="col-xs-12 col-sm-6 col-lg-4 pt-2"> - <a class="skill-card-link" href="{{ if .url }}{{ .url }}{{ else }}#{{ end }}"> + <a class="skill-card-link" href="{{ if .url }}{{ .url }}{{ else }}javascript:void(0){{ end }}"> <div class="card"> <div class="card-head d-flex"> {{ if .icon }} |