From 69356cf90779944324f8c17779d562db4a3fd9e2 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Fri, 7 Oct 2022 22:20:29 +0200 Subject: Added Cactus comment to the site --- themes/simple/layouts/_default/baseof.html | 19 ++--- themes/simple/layouts/_default/list.html | 2 +- themes/simple/layouts/_default/single.html | 11 ++- themes/simple/layouts/partials/comments.html | 20 ++++++ themes/simple/layouts/partials/footer.html | 3 +- themes/simple/layouts/partials/header.html | 2 +- themes/simple/layouts/partials/tailwind.html | 103 ++++++++++++++++++++++++++- themes/simple/openring/openring.html | 1 - 8 files changed, 140 insertions(+), 21 deletions(-) create mode 100644 themes/simple/layouts/partials/comments.html (limited to 'themes') 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 @@ - {{- partial "head.html" . -}} - - {{- partial "header.html" . -}} -
- {{- block "main" . }}{{- end }} -
- {{- partial "footer.html" . -}} - + +{{ partial "head.html" . }} + + + {{ partial "header.html" . }} +
+ {{ block "main" . }}{{ end }} +
+ {{ partial "footer.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 @@ {{ define "main" }} -
+

Blog posts

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 @@ {{ define "main" }} -
+
@@ -17,21 +17,18 @@
{{ if in .Type "posts" }} -
+
{{ end }} {{ if in .Type "posts" }}
-

- Comment, contact: The easiest way to contact me is by writing me a message on Telegram (https://t.me/mitjafelicijan). -

-

You can also just write me an email at m@mitjafelicijan.com.

+ {{ partial "comments.html" . }}
{{ end }} {{ if in .Type "posts" }} -
+
{{ end }} diff --git a/themes/simple/layouts/partials/comments.html b/themes/simple/layouts/partials/comments.html new file mode 100644 index 0000000..dd73bb4 --- /dev/null +++ b/themes/simple/layouts/partials/comments.html @@ -0,0 +1,20 @@ +
+

You can write me an email at m@mitjafelicijan.com or comment bellow.

+
+ + + + + +
diff --git a/themes/simple/layouts/partials/footer.html b/themes/simple/layouts/partials/footer.html index 8881f46..95a1771 100644 --- a/themes/simple/layouts/partials/footer.html +++ b/themes/simple/layouts/partials/footer.html @@ -1,4 +1,4 @@ -