diff options
Diffstat (limited to 'themes/mypaper/layouts/_default/single.html')
| -rw-r--r-- | themes/mypaper/layouts/_default/single.html | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/themes/mypaper/layouts/_default/single.html b/themes/mypaper/layouts/_default/single.html index 06735a3..918a3c8 100644 --- a/themes/mypaper/layouts/_default/single.html +++ b/themes/mypaper/layouts/_default/single.html @@ -8,18 +8,16 @@ {{- .Params.Author | default .Site.Author.name }} ยท {{ end }} {{- .Date.Format "2006-01-02" -}} </div> - </header> - <div class="post-content">{{ .Content }}</div> - {{- if .Params.tags }} - <footer class="post-footer"> + {{- if .Params.tags }} <ul class="post-tags"> {{- range .Params.tags }} {{- $href := print (absURL "tags/") (urlize .) }} <li><a href="{{ $href }}">{{ . }}</a></li> {{- end }} </ul> - </footer> - {{- end }} + {{- end }} + </header> + <div class="post-content">{{ .Content }}</div> </article> {{- partial "footer.html" . }} |
