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

github.com/2-REC/hugo-myportfolio-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/pages/sidebar.html')
-rw-r--r--layouts/partials/pages/sidebar.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/pages/sidebar.html b/layouts/partials/pages/sidebar.html
index 98d4955..4a2e96c 100644
--- a/layouts/partials/pages/sidebar.html
+++ b/layouts/partials/pages/sidebar.html
@@ -6,10 +6,10 @@
{{ with $image }}
<div class="sidebar-image">
{{ if $.Params.small_url }}
- <a href="{{ $.Params.small_url | relURL }}" target="_blank" rel="noopener noreferrer">
+ <a href="{{ $.Params.small_url | absURL }}" target="_blank" rel="noopener noreferrer">
{{ end }}
{{ $alt := or $.Params.small_url "" }}
- <img src="{{ .RelPermalink | relURL }}" alt="{{ $alt }}">
+ <img src="{{ .Permalink }}" alt="{{ $alt }}">
{{ if $.Params.small_url }}
</a>
{{ end }}
@@ -22,7 +22,7 @@
{{ "<!-- Navigation Tree -->" | safeHTML }}
<div class="sidebar-tree">
{{ with .Parent }}
- <a class="parent-link" href="{{ .Permalink | relURL }}">
+ <a class="parent-link" href="{{ .Permalink }}">
{{ if not .IsHome }}
<i class="fas fa-chevron-circle-left"></i>
{{ .Title }}