mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 11:46:41 +02:00
using relative links to blog pages (#112)
This commit is contained in:

committed by
Michael Noronha

parent
4d32524db3
commit
fa031e93c1
@@ -1,8 +1,8 @@
|
|||||||
<li class="post-item">
|
<li class="post-item">
|
||||||
<span class="meta">{{ .Date.Format .Site.Params.dateform }}</span>
|
<span class="meta">{{ .Date.Format .Site.Params.dateform }}</span>
|
||||||
{{ if .Params.draft }}
|
{{ if .Params.draft }}
|
||||||
<a href="{{ .Permalink }}"><span>Draft::{{ .Title }}</span></a>
|
<a href="{{ .RelPermalink }}"><span>Draft::{{ .Title }}</span></a>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<a href="{{ .Permalink }}"><span>{{ .Title }}</span></a>
|
<a href="{{ .RelPermalink }}"><span>{{ .Title }}</span></a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</li>
|
</li>
|
||||||
|
Reference in New Issue
Block a user