Do not only use ugly URLs; have support for relative or ugly

This commit is contained in:
Tony Blyler 2016-11-03 21:14:36 -04:00
parent ddcf6a28d0
commit b781218f4e
4 changed files with 16 additions and 17 deletions
layouts/_default

View file

@ -5,7 +5,7 @@
<h2>{{ .Key }}</h2>
{{ range .Pages }}
<h3>
<a href="{{ .Permalink }}">
<a href="{{ .RelPermalink }}">
{{ .Title }} {{ if .GetParam "draft" }}DRAFT{{ end }}
</a>
</h3>