using relative links to blog pages (#112)

This commit is contained in:
Aaron Schlesinger
2018-10-24 22:17:17 -07:00
committed by Michael Noronha
parent 4d32524db3
commit fa031e93c1

View File

@@ -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>