mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-14 19:26:40 +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">
|
||||
<span class="meta">{{ .Date.Format .Site.Params.dateform }}</span>
|
||||
{{ if .Params.draft }}
|
||||
<a href="{{ .Permalink }}"><span>Draft::{{ .Title }}</span></a>
|
||||
<a href="{{ .RelPermalink }}"><span>Draft::{{ .Title }}</span></a>
|
||||
{{ else }}
|
||||
<a href="{{ .Permalink }}"><span>{{ .Title }}</span></a>
|
||||
<a href="{{ .RelPermalink }}"><span>{{ .Title }}</span></a>
|
||||
{{ end }}
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user