diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-10-07 22:20:29 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2022-10-07 22:20:29 +0200 |
| commit | 69356cf90779944324f8c17779d562db4a3fd9e2 (patch) | |
| tree | fa3599bda0cd92f94056467661ec3c2a2f260567 /themes/simple/layouts/_default | |
| parent | f4fa1ef9989da487a13d552cfe161a073390fffe (diff) | |
| download | mitjafelicijan.com-69356cf90779944324f8c17779d562db4a3fd9e2.tar.gz | |
Added Cactus comment to the site
Diffstat (limited to 'themes/simple/layouts/_default')
| -rw-r--r-- | themes/simple/layouts/_default/baseof.html | 19 | ||||
| -rw-r--r-- | themes/simple/layouts/_default/list.html | 2 | ||||
| -rw-r--r-- | themes/simple/layouts/_default/single.html | 11 |
3 files changed, 16 insertions, 16 deletions
diff --git a/themes/simple/layouts/_default/baseof.html b/themes/simple/layouts/_default/baseof.html index 5f8e2ec..781b043 100644 --- a/themes/simple/layouts/_default/baseof.html +++ b/themes/simple/layouts/_default/baseof.html | |||
| @@ -1,11 +1,14 @@ | |||
| 1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
| 2 | <html> | 2 | <html> |
| 3 | {{- partial "head.html" . -}} | 3 | |
| 4 | <body> | 4 | {{ partial "head.html" . }} |
| 5 | {{- partial "header.html" . -}} | 5 | |
| 6 | <div id="content"> | 6 | <body> |
| 7 | {{- block "main" . }}{{- end }} | 7 | {{ partial "header.html" . }} |
| 8 | </div> | 8 | <div id="content"> |
| 9 | {{- partial "footer.html" . -}} | 9 | {{ block "main" . }}{{ end }} |
| 10 | </body> | 10 | </div> |
| 11 | {{ partial "footer.html" . }} | ||
| 12 | </body> | ||
| 13 | |||
| 11 | </html> | 14 | </html> |
diff --git a/themes/simple/layouts/_default/list.html b/themes/simple/layouts/_default/list.html index 7870247..04589cb 100644 --- a/themes/simple/layouts/_default/list.html +++ b/themes/simple/layouts/_default/list.html | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | {{ define "main" }} | 1 | {{ define "main" }} |
| 2 | <main aria-role="main" class="container-blog px-6 md:p-0"> | 2 | <main aria-role="main" class="container-blog mx-auto px-6 md:p-0"> |
| 3 | 3 | ||
| 4 | <h1 class="text-2xl font-bold mb-6">Blog posts</h1> | 4 | <h1 class="text-2xl font-bold mb-6">Blog posts</h1> |
| 5 | 5 | ||
diff --git a/themes/simple/layouts/_default/single.html b/themes/simple/layouts/_default/single.html index 2622946..e8f27d1 100644 --- a/themes/simple/layouts/_default/single.html +++ b/themes/simple/layouts/_default/single.html | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | {{ define "main" }} | 1 | {{ define "main" }} |
| 2 | <main aria-role="main" class="container-blog px-6 md:p-0"> | 2 | <main aria-role="main" class="container-blog mx-auto px-6 md:p-0"> |
| 3 | 3 | ||
| 4 | <!-- Single article --> | 4 | <!-- Single article --> |
| 5 | <article itemtype="http://schema.org/Article" class="single mb-12"> | 5 | <article itemtype="http://schema.org/Article" class="single mb-12"> |
| @@ -17,21 +17,18 @@ | |||
| 17 | </article> | 17 | </article> |
| 18 | 18 | ||
| 19 | {{ if in .Type "posts" }} | 19 | {{ if in .Type "posts" }} |
| 20 | <hr class="border-2 border-gray-100 mb-10"> | 20 | <hr class="border-2 border-gray-100 mb-10" /> |
| 21 | {{ end }} | 21 | {{ end }} |
| 22 | 22 | ||
| 23 | <!-- Comment, contact --> | 23 | <!-- Comment, contact --> |
| 24 | {{ if in .Type "posts" }} | 24 | {{ if in .Type "posts" }} |
| 25 | <section class="mb-10"> | 25 | <section class="mb-10"> |
| 26 | <p class="mb-4"> | 26 | {{ partial "comments.html" . }} |
| 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" class="underline hover:bg-yellow-100">Telegram (https://t.me/mitjafelicijan)</a>. | ||
| 28 | </p> | ||
| 29 | <p>You can also just write me an email at <a href="mailto:m@mitjafelicijan.com" class="underline hover:bg-yellow-100">m@mitjafelicijan.com</a>.</p> | ||
| 30 | </section> | 27 | </section> |
| 31 | {{ end }} | 28 | {{ end }} |
| 32 | 29 | ||
| 33 | {{ if in .Type "posts" }} | 30 | {{ if in .Type "posts" }} |
| 34 | <hr class="border-2 border-gray-100 mb-10"> | 31 | <hr class="border-2 border-gray-100 mb-10" /> |
| 35 | {{ end }} | 32 | {{ end }} |
| 36 | 33 | ||
| 37 | <!-- Read more --> | 34 | <!-- Read more --> |
