diff options
author | Christoph Cullmann <cullmann@kde.org> | 2019-08-03 22:37:19 +0200 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2019-08-03 22:37:19 +0200 |
commit | c43a62caba5ea05f0196eead6f4e2af00c884638 (patch) | |
tree | b28271775cc7ff645917db4bf9fbcee34a68db2f /layouts | |
parent | d9bb02664c81615b94cb48c1efd2dc92cc59d6cd (diff) |
cleanups
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/posts/single.html | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html deleted file mode 100644 index a682e08..0000000 --- a/layouts/posts/single.html +++ /dev/null @@ -1,70 +0,0 @@ -{{ define "title" }} - {{ .Title }} ยท {{ .Site.Title }} -{{ end }} -{{ define "content" }} - <section class="container post"> - <article> - <header> - <div class="post-title"> - <h1 class="title">{{ .Title }}</h1> - </div> - <div class="post-meta"> - <div class="date"> - <span class="posted-on"> - <i class="fas fa-calendar"></i> - <time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}'> - {{ .Date.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }} - </time> - </span> - <span class="reading-time"> - <i class="fas fa-clock"></i> - {{ i18n "reading_time" .ReadingTime }} - </span> - </div> - </div> - </header> - - <div> - {{ .Content }} - - <!-- meta data at footer of content --> - <div class="post-meta"> - {{ with .Page.Params.Categories }}{{ partial "taxonomy/categories" . }}{{ end }} - {{ with .Page.Params.Tags }}{{ partial "taxonomy/tags" . }}{{ end }} - </div> - - <!-- feedback --> - <p> - If you have feedback, drop me a mail at <a href="mailto:christoph@cullmann.io">christoph@cullmann.io</a>. - Corrections or additions can be handed in as a pull request or patch for <a href="https://github.com/christoph-cullmann/cullmann.io" target="_blank">this repository</a>, too. - This web site honors your privacy, no social like or share buttons, feel free to share this content on your own. - </p> - </div> - - <footer> - -<!-- Next Post/ Previous Post Links --> -{{ if .NextInSection }} - <div style="float: left; text-align: right;">Next Post</div> -{{ end }} -{{ if .PrevInSection }} - <div style="float: right; text-align: right;">Previous Post</div> -{{ end }} - -<br> - -{{ with .NextInSection }} - <a href="{{ .Permalink }}" style="text-align: left; float: left; max-width: 40%;">{{ .Title }}</a> -{{ end }} -{{ with .PrevInSection }} - <a href="{{ .Permalink }}" style="text-align: right; float: right; max-width: 40%">{{ .Title }}</a> -{{ end }} - - {{ partial "posts/series" . }} - {{ partial "posts/disqus" . }} - </footer> - </article> - - {{ partial "posts/math" . }} - </section> -{{ end }} |