diff options
Diffstat (limited to 'themes/terrassa/layouts/_default/single.html')
-rw-r--r-- | themes/terrassa/layouts/_default/single.html | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/themes/terrassa/layouts/_default/single.html b/themes/terrassa/layouts/_default/single.html deleted file mode 100644 index 9f108f7..0000000 --- a/themes/terrassa/layouts/_default/single.html +++ /dev/null @@ -1,37 +0,0 @@ -{{ define "main" }} -<article class="post"> - <header class="post__header"> - <h1 class="post__title">{{ .Title }}</h1> - {{ if .Description }} - <p class="post__subtitle">{{ .Description }}</p> - {{ end }} - {{ if ne .Type "page" }} - {{ if and $.Site.Params.posts.showDate $.Site.Params.posts.showAuthor }} - <p class="post__date date"> - {{ dateFormat $.Site.Params.posts.dateFormat .Date }} By {{ $.Params.author }}. - </p> - {{ else if $.Site.Params.posts.showDate }} - <p class="post__date date">{{ dateFormat $.Site.Params.posts.dateFormat .Date }}</p> - {{ else if $.Site.Params.posts.showAuthor }} - <p class="post__author author">By {{ $.Params.author }}.</p> - {{ end }} - {{ end }} - </header> - - {{ if ne .Type "page" }} - <main class="post__body"> - {{ .Content }} - </main> - {{ else }} - <main class="post__body" style="margin-bottom: 3rem;"> - {{ .Content }} - </main> - {{ end }} - - {{ if ne .Type "page" }} - <footer class="post__footer"> - {{ .Render "tags" }} - </footer> - {{ end }} -</article> -{{ end }}
\ No newline at end of file |