Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanzei <hanzei@mailbox.org>2018-07-20 18:27:32 +0300
committerHanzei <hanzei@mailbox.org>2018-07-20 18:27:32 +0300
commit8c258bbd0700e62be2feb5e516a4e6efe47e5776 (patch)
tree4692598ec2dec0439e63c9bff4e207dcc3b0c478 /layouts/partials/home/projects.html
parentef5feab3ef4a66a03ccc89416303cfb6d5293a3a (diff)
Use abs URL every time
Diffstat (limited to 'layouts/partials/home/projects.html')
-rw-r--r--layouts/partials/home/projects.html5
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 }}