diff options
Diffstat (limited to 'layouts/_default/comic.html')
-rw-r--r-- | layouts/_default/comic.html | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/layouts/_default/comic.html b/layouts/_default/comic.html index 1b3e33e..2758deb 100644 --- a/layouts/_default/comic.html +++ b/layouts/_default/comic.html @@ -1,34 +1,34 @@ {{ define "main" }} {{ if .Menus }} <nav class="post-navigation"> - {{ range .Menus }} - <a href="{{ .URL | absLangURL }}" title="{{ .Title }}">{{ .Name }}</a> - {{ end }} + {{ range .Menus }} + <a href="{{ .URL | absLangURL }}" title="{{ .Title }}">{{ .Name }}</a> + {{ end }} </nav> {{ end }} <article class="post h-entry"> - <header class="post-header"> - <center> - <h1 class="p-name post-title{{ if .Params.draft }} draft{{end}}">{{ trim .Title " " }}</h1> - {{ if in .Params.categories "comics" }} - </center> - {{ end}} - </header> - <div class="content e-content"> - <center> - {{ partial "comicNav.html" . }} - <img title="{{ .Params.TitleText }}" alt="{{ .Params.Alt}}" - src={{ .Params.ComicLink}}> - {{ partial "comicNav.html" . }} - {{ .Content }} - <center> - </div> - {{ partial "postInfo.html" . }} + <header class="post-header"> + <center> + <h1 class="p-name post-title{{ if .Params.draft }} draft{{end}}">{{ trim .Title " " }}</h1> + {{ if in .Params.categories "comics" }} + </center> + {{ end}} + </header> + <div class="content e-content"> + <center> + {{ partial "comicNav.html" . }} + <img title="{{ .Params.TitleText }}" alt="{{ .Params.Alt}}" + src={{ .Params.ComicLink}}> + {{ partial "comicNav.html" . }} + {{ .Content }} + <center> + </div> + {{ partial "postInfo.html" . }} </article> {{ if and (.Site.Params.paginationSinglePost) (ne .Type "page") }} - {{ partial "paginationPost.html" . }} + {{ partial "paginationPost.html" . }} {{ end }} |