Changed permalinks to relative permalinks in the theme again

pull/3/head
gianmarco 2022-09-13 13:59:22 +02:00
parent 2606a85e9a
commit 76e4ed594f
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@
</svg> {{ .WordCount }} words</span>
</div>
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 2 24 24" width="24px" fill="currentColor"><path d="M0 0h24v24H0z" fill="none"/><path d="M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z"/></svg> Tags:&nbsp;&nbsp;{{ range (.GetTerms "tags") }}
<a href="{{ .Permalink }}">{{ .LinkTitle }}</a>&nbsp;&nbsp;
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>&nbsp;&nbsp;
{{ end }}
</section>
{{ end }}
@ -64,7 +64,7 @@
{{ if ne .Params.rss_ignore true }}
<h4>Comments</h4>
<small>Supports Markdown formatting. <a href="/tos">Terms of Service and Privacy Policy</a>.</small>
<section id="isso-thread" data-isso-css-url="{{ .RelPermalink }}"></section>
<section id="isso-thread" data-isso-css-url="{{ .RelPermalink }}"><noscript><small>Javascript needs to be activated to view comments.</small></noscript></section>
{{ end }}
</div>
</main>