diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-08-27 15:34:22 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-08-27 15:34:22 +0200 |
| commit | e60da0bbe15476afe6bec36bec792647f5818118 (patch) | |
| tree | e1aa5804dcb59e479cb74e5f18ad815de8a769be /themes/simple/layouts/_default | |
| parent | 6a78b5998a6fab316823424b56bdca46cf3b60a9 (diff) | |
| download | mitjafelicijan.com-e60da0bbe15476afe6bec36bec792647f5818118.tar.gz | |
Excluded time from pages
Diffstat (limited to 'themes/simple/layouts/_default')
| -rw-r--r-- | themes/simple/layouts/_default/single.html | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/themes/simple/layouts/_default/single.html b/themes/simple/layouts/_default/single.html index d34fabe..c3f100d 100644 --- a/themes/simple/layouts/_default/single.html +++ b/themes/simple/layouts/_default/single.html | |||
| @@ -5,7 +5,10 @@ | |||
| 5 | <article itemtype="http://schema.org/Article" class="single mb-12"> | 5 | <article itemtype="http://schema.org/Article" class="single mb-12"> |
| 6 | <header class="mb-6"> | 6 | <header class="mb-6"> |
| 7 | <h1 itemtype="headline" class="text-4xl font-extrabold mb-6">{{.Title}}</h1> | 7 | <h1 itemtype="headline" class="text-4xl font-extrabold mb-6">{{.Title}}</h1> |
| 8 | |||
| 9 | {{ if in .Type "posts" }} | ||
| 8 | <time class="text-gray-400 font-medium text-sm">Published on {{ .Date.Format "Monday Jan 2, 2006" }}</time> | 10 | <time class="text-gray-400 font-medium text-sm">Published on {{ .Date.Format "Monday Jan 2, 2006" }}</time> |
| 11 | {{ end }} | ||
| 9 | </header> | 12 | </header> |
| 10 | 13 | ||
| 11 | <div class="leading-relaxed"> | 14 | <div class="leading-relaxed"> |
| @@ -13,19 +16,26 @@ | |||
| 13 | </div> | 16 | </div> |
| 14 | </article> | 17 | </article> |
| 15 | 18 | ||
| 19 | {{ if in .Type "posts" }} | ||
| 16 | <hr class="border-2 border-gray-100 mb-10"> | 20 | <hr class="border-2 border-gray-100 mb-10"> |
| 21 | {{ end }} | ||
| 17 | 22 | ||
| 18 | <!-- Comment, contact --> | 23 | <!-- Comment, contact --> |
| 24 | {{ if in .Type "posts" }} | ||
| 19 | <section class="mb-10"> | 25 | <section class="mb-10"> |
| 20 | <p class="mb-4"> | 26 | <p class="mb-4"> |
| 21 | <strong>Comment, contact:</strong> The easiest way to contact me is by writing me a message on <a href="https://t.me/mitjafelicijan" target="_blank">Telegram (https://t.me/mitjafelicijan)</a>. | 27 | <strong>Comment, contact:</strong> The easiest way to contact me is by writing me a message on <a href="https://t.me/mitjafelicijan" target="_blank">Telegram (https://t.me/mitjafelicijan)</a>. |
| 22 | </p> | 28 | </p> |
| 23 | <p>You can also just write me an email at <a href="mailto:m@mitjafelicijan.com">m@mitjafelicijan.com</a>.</p> | 29 | <p>You can also just write me an email at <a href="mailto:m@mitjafelicijan.com">m@mitjafelicijan.com</a>.</p> |
| 24 | </section> | 30 | </section> |
| 31 | {{ end }} | ||
| 25 | 32 | ||
| 33 | {{ if in .Type "posts" }} | ||
| 26 | <hr class="border-2 border-gray-100 mb-10"> | 34 | <hr class="border-2 border-gray-100 mb-10"> |
| 35 | {{ end }} | ||
| 27 | 36 | ||
| 28 | <!-- Read more --> | 37 | <!-- Read more --> |
| 38 | {{ if in .Type "posts" }} | ||
| 29 | <section> | 39 | <section> |
| 30 | <h1 class="text-2xl font-bold mb-6">Read more from this site</h1> | 40 | <h1 class="text-2xl font-bold mb-6">Read more from this site</h1> |
| 31 | <nav itemscope itemtype="https://schema.org/SiteNavigationElement" class="mb-12"> | 41 | <nav itemscope itemtype="https://schema.org/SiteNavigationElement" class="mb-12"> |
| @@ -42,11 +52,16 @@ | |||
| 42 | </ul> | 52 | </ul> |
| 43 | </nav> | 53 | </nav> |
| 44 | </section> | 54 | </section> |
| 55 | {{ end }} | ||
| 45 | 56 | ||
| 57 | {{ if in .Type "posts" }} | ||
| 46 | <hr class="border-2 border-gray-100 mb-10"> | 58 | <hr class="border-2 border-gray-100 mb-10"> |
| 59 | {{ end }} | ||
| 47 | 60 | ||
| 48 | <!-- Openring --> | 61 | <!-- Openring --> |
| 49 | {{ partial "openring.html" . }} | 62 | {{ if in .Type "posts" }} |
| 63 | {{ partial "openring.html" . }} | ||
| 64 | {{ end }} | ||
| 50 | 65 | ||
| 51 | </main> | 66 | </main> |
| 52 | {{ end }} | 67 | {{ end }} |
