diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/post_header.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/post_header.html b/layouts/partials/post_header.html index 4c64bfc..8d81eb6 100644 --- a/layouts/partials/post_header.html +++ b/layouts/partials/post_header.html @@ -1,9 +1,6 @@ <!-- This file contains the header/title for each post --> <header> - <h1 class="entry-title"> - {{ if ($.Scratch.Get "isHome") }}<a href="{{ .Permalink }}">{{ .Title }}</a>{{ else }} {{ .Title }} {{ end }} - </h1> <p class="meta">{{ .Date.Format "Jan 2, 2006" }} {{ if not .Site.Params.disableReadingTime }} - {{ .ReadingTime }} minute read {{ end }} {{ if .Site.Params.disqusShortname }} - <a href="{{ .Permalink }}#disqus_thread">Comments</a>{{ end }} @@ -12,7 +9,10 @@ <!-- <br/> this will make the categories go to the second line and mess with the title --> <!-- in order to make category URLs work, we need to urlize them and then convert them to lowercase e.g. .NET Remoting -urlize-> .NET-Remoting -lowercase-> .net-remoting --> - - {{ range .Params.categories }}<a class="label" href="{{ "/categories/" | absURL }}{{ . | urlize | lower }}/">{{ . }}</a>{{ end }} + - {{ range .Params.categories }}<a class="label" href="{{ "/categories/" | absURL }}{{ . | urlize | lower }}/">{{ . }} </a>{{ end }} {{ end }} </p> + <h1 class="entry-title"> + {{ if ($.Scratch.Get "isHome") }}<a href="{{ .Permalink }}">{{ .Title }}</a>{{ else }} {{ .Title }} {{ end }} + </h1> </header> |