diff options
author | Hanzei <hanzei@mailbox.org> | 2018-07-20 18:27:32 +0300 |
---|---|---|
committer | Hanzei <hanzei@mailbox.org> | 2018-07-20 18:27:32 +0300 |
commit | 8c258bbd0700e62be2feb5e516a4e6efe47e5776 (patch) | |
tree | 4692598ec2dec0439e63c9bff4e207dcc3b0c478 /layouts/partials/home/projects.html | |
parent | ef5feab3ef4a66a03ccc89416303cfb6d5293a3a (diff) |
Use abs URL every time
Diffstat (limited to 'layouts/partials/home/projects.html')
-rw-r--r-- | layouts/partials/home/projects.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/partials/home/projects.html b/layouts/partials/home/projects.html index f0e5a6c..c4a637e 100644 --- a/layouts/partials/home/projects.html +++ b/layouts/partials/home/projects.html @@ -30,6 +30,7 @@ </div> <div class="card-content has-text-centered top-pad"> <a {{ if .Params.external_link }} href="{{ .Params.external_link }}" {{ end }}> + {{ .Params.external_link }} {{ .Title }} </a> </div> @@ -40,7 +41,7 @@ </div> {{ if lt $numberOfProjectsToShow $totalProjects }} <div class="container has-text-centered top-pad"> - <a href="{{ .RelPermalink }}">{{ i18n "index_projects_allProjects" . }}</a> + <a href="{{ .Permalink }}">{{ i18n "index_projects_allProjects" . }}</a> </div> {{ end }} </div> @@ -67,7 +68,7 @@ {{ if $moreThenOneImage }} <div class="item owl-height"> {{ end }} - <img src="{{ $image.RelPermalink }}" class="img-responsive" alt="{{ $image.Name }}"> + <img src="{{ $image.Permalink }}" class="img-responsive" alt="{{ $image.Name }}"> {{ if $moreThenOneImage }} </div> {{ end }} |