diff options
Diffstat (limited to 'themes/simple/layouts/_default/single.html')
| -rw-r--r-- | themes/simple/layouts/_default/single.html | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/themes/simple/layouts/_default/single.html b/themes/simple/layouts/_default/single.html deleted file mode 100644 index 095ff25..0000000 --- a/themes/simple/layouts/_default/single.html +++ /dev/null | |||
| @@ -1,61 +0,0 @@ | |||
| 1 | {{ define "main" }} | ||
| 2 | <main role="main" class="container-blog mx-auto px-6 md:p-0"> | ||
| 3 | |||
| 4 | <!-- Search modal and results --> | ||
| 5 | {{ partial "search.html" . }} | ||
| 6 | |||
| 7 | <!-- Single article --> | ||
| 8 | <article itemtype="http://schema.org/Article" class="single mb-12"> | ||
| 9 | <header class="mb-6"> | ||
| 10 | <h1 itemtype="headline" class="text-4xl font-bold mb-4 leading-1 md:leading-2">{{ .Title }}</h1> | ||
| 11 | |||
| 12 | {{ if not (eq .Type "pages") }} | ||
| 13 | <time class="text-gray-400 font-medium text-sm">Published on {{ .Date.Format "Monday Jan 2, 2006" }}</time> | ||
| 14 | {{ end }} | ||
| 15 | </header> | ||
| 16 | |||
| 17 | {{ if not .Params.hidetoc }} | ||
| 18 | <div> | ||
| 19 | {{ if ge (len .TableOfContents) 100 }} | ||
| 20 | <p class="font-semibold">Table of contents</p> | ||
| 21 | <div>{{ .TableOfContents }}</div> | ||
| 22 | {{ end }} | ||
| 23 | </div> | ||
| 24 | {{ end }} | ||
| 25 | |||
| 26 | <div class="leading-relaxed content"> | ||
| 27 | {{.Content}} | ||
| 28 | </div> | ||
| 29 | </article> | ||
| 30 | |||
| 31 | {{ if not (eq .Type "pages") }} | ||
| 32 | <hr class="border-2 border-gray-100 mb-10" /> | ||
| 33 | {{ end }} | ||
| 34 | |||
| 35 | <!-- Comment, contact --> | ||
| 36 | {{ if not (eq .Type "pages") }} | ||
| 37 | <section class="mb-10"> | ||
| 38 | {{ partial "comments.html" . }} | ||
| 39 | </section> | ||
| 40 | {{ end }} | ||
| 41 | |||
| 42 | {{ if not (eq .Type "pages") }} | ||
| 43 | <hr class="border-2 border-gray-100 mb-10" /> | ||
| 44 | {{ end }} | ||
| 45 | |||
| 46 | <!-- Read more --> | ||
| 47 | {{ if not (eq .Type "pages") }} | ||
| 48 | {{ partial "read-more.html" . }} | ||
| 49 | {{ end }} | ||
| 50 | |||
| 51 | {{ if in .Type "posts" }} | ||
| 52 | <hr class="border-2 border-gray-100 mb-10"> | ||
| 53 | {{ end }} | ||
| 54 | |||
| 55 | <!-- Openring --> | ||
| 56 | {{ if in .Type "posts" }} | ||
| 57 | {{ partial "openring.html" . }} | ||
| 58 | {{ end }} | ||
| 59 | |||
| 60 | </main> | ||
| 61 | {{ end }} | ||
