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

github.com/tastaturtier/someparts-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandro Leuchter <sandro.leuchter@dama.io>2020-02-13 05:53:38 +0300
committerSandro Leuchter <sandro.leuchter@dama.io>2020-02-13 05:53:38 +0300
commitf1ff0e0195c6d241a4805381a77f980cc05bc968 (patch)
tree091cfd59b176141a15385a1c804b6cc791af2eb8
parentcfd437d2b8f46c36f75c1868af99ef7d726ef45e (diff)
fixed base of relative URLsv1.0.1
-rw-r--r--layouts/partials/part.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/part.html b/layouts/partials/part.html
index 1b6d4da..761f77e 100644
--- a/layouts/partials/part.html
+++ b/layouts/partials/part.html
@@ -10,13 +10,13 @@
{{ end }}
{{ with .Params.link }}
<nav class="nav flex-column">
- <a href="{{ .url | absURL }}"><i class='fa fa-bookmark' aria-hidden='true'></i> {{ .linktext | markdownify }}</a>
+ <a href="{{ .url }}"><i class='fa fa-bookmark' aria-hidden='true'></i> {{ .linktext | markdownify }}</a>
</nav>
{{ end }}
</div>
{{ with .Params.cover }}
<div class="col-sm-3">
- <p>{{ if .link }}<a href="{{ .link | absURL }}">{{ end }}<img src="{{ .img | absURL }}" alt="Cover" />{{ if .link }}</a>{{ end }}</p>
+ <p>{{ if .link }}<a href="{{ .link }}">{{ end }}<img src="{{ .img }}" alt="Cover" />{{ if .link }}</a>{{ end }}</p>
</div>
{{ end }}
</div>