diff options
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/baseof.html | 5 | ||||
-rw-r--r-- | layouts/_default/list.html | 2 | ||||
-rw-r--r-- | layouts/_default/single.html | 5 |
3 files changed, 5 insertions, 7 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index f37673b..ad626b9 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -32,8 +32,6 @@ </head> <body> {{ block "header" . }} - {{ $image := resources.Get "logo.png" }} - {{ $image := $image.Resize "x40" }} <nav id="topnav"> <div> <a href="/">Home</a> @@ -45,7 +43,10 @@ <header> <div id="logo-space"> <a href="/"> + {{ $image := resources.Get "logo.png" }} + {{ $image := $image.Resize "x40" }} <div id="logo"> + <img alt="logo" src="{{ $image.Permalink }}" width={{$image.Width}} height={{$image.Height}}/> </div> <h1>{{ .Site.Title }}</h1> </a> diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 28eae45..6255b45 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,7 +2,7 @@ {{- range where .Pages "Params.category" "!=" "pages"}} <article class="list"> <a href="{{ .Page.Permalink }}"> - {{ .Page.Title }} + <h2>{{ .Page.Title }}</h2> </a> ({{ .PublishDate.Format "January 2nd, 2006" }}) <div> diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 3c108c1..cf59eeb 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,8 +1,5 @@ -{{ define "title" }} -{{ end }} - {{ define "main" }} -{{ .Page.Content }} +<article>{{ .Page.Content }}</article> <BR> added on {{ .PublishDate.Format "January 2, 2006" }} {{- if isset .Params "tags" -}} |