From b781218f4eca13e435d8e462b88eefc5eeecb696 Mon Sep 17 00:00:00 2001 From: Tony Blyler Date: Thu, 3 Nov 2016 21:14:36 -0400 Subject: [PATCH] Do not only use ugly URLs; have support for relative or ugly --- layouts/_default/list.html | 2 +- layouts/partials/footer.html | 6 +++--- layouts/partials/header.html | 21 ++++++++++----------- layouts/post/summary.html | 4 ++-- 4 files changed, 16 insertions(+), 17 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 8ed782f..6de1eee 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -5,7 +5,7 @@

{{ .Key }}

{{ range .Pages }}

- + {{ .Title }} {{ if .GetParam "draft" }}DRAFT{{ end }}

diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index ff3e76c..c7ea9c8 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,10 +1,10 @@ diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 4244c92..437531b 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -4,15 +4,14 @@ {{ .Title }} · {{ .Site.Title }} - - + {{ if .RSSlink }} {{ end }} - + {{ if .Site.Params.logo }} {{ end }} @@ -24,27 +23,27 @@ {{ $icon_size := "64px" }} {{ if .Site.Params.email }} - Email + Email {{ end }} {{ if .Site.Params.github }} - GitHub + GitHub {{ end }} {{ if .Site.Params.facebook }} - Facebook + Facebook {{ end }} {{ if .Site.Params.twitter }} - Twitter + Twitter {{ end }} {{ if .Site.Params.linkedin }} - LinkedIn + LinkedIn {{ end }} @@ -52,11 +51,11 @@

{{ .Site.Params.description }}

{{ end }} diff --git a/layouts/post/summary.html b/layouts/post/summary.html index 6506244..a1ee8f7 100644 --- a/layouts/post/summary.html +++ b/layouts/post/summary.html @@ -2,7 +2,7 @@

- {{ .Title }} {{ if .Draft }}:: DRAFT{{end}} + {{ .Title }} {{ if .Draft }}:: DRAFT{{end}}

{{ .Summary }} - Read more... + Read more...