From eb2cf9f9476473811178d1c5cfdd71a0293fdff4 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 27 May 2023 01:05:49 +0200 Subject: Github Actions note and better rendering of images --- themes/simple/layouts/_default/_markup/render-image.html | 8 ++++++++ themes/simple/layouts/_default/single.html | 4 ++-- themes/simple/layouts/partials/comments.html | 2 +- themes/simple/static/css/tailwind.css | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 themes/simple/layouts/_default/_markup/render-image.html (limited to 'themes/simple') diff --git a/themes/simple/layouts/_default/_markup/render-image.html b/themes/simple/layouts/_default/_markup/render-image.html new file mode 100644 index 0000000..5da02eb --- /dev/null +++ b/themes/simple/layouts/_default/_markup/render-image.html @@ -0,0 +1,8 @@ +
+ + {{ .Text }} + +
diff --git a/themes/simple/layouts/_default/single.html b/themes/simple/layouts/_default/single.html index 4489601..77354b7 100644 --- a/themes/simple/layouts/_default/single.html +++ b/themes/simple/layouts/_default/single.html @@ -28,13 +28,13 @@ {{ end }} - {{ if in .Type "posts" }} + {{ if not (eq .Type "pages") }}
{{ partial "comments.html" . }}
{{ end }} - {{ if in .Type "posts" }} + {{ if not (eq .Type "pages") }}
{{ end }} diff --git a/themes/simple/layouts/partials/comments.html b/themes/simple/layouts/partials/comments.html index 33cf7b6..c87f1c6 100644 --- a/themes/simple/layouts/partials/comments.html +++ b/themes/simple/layouts/partials/comments.html @@ -1,5 +1,5 @@
-

Want to comment or have you something to add?

+

Want to comment or have something to add?

You can write me an email at diff --git a/themes/simple/static/css/tailwind.css b/themes/simple/static/css/tailwind.css index 36e45e8..db7294b 100644 --- a/themes/simple/static/css/tailwind.css +++ b/themes/simple/static/css/tailwind.css @@ -2,7 +2,7 @@ @tailwind components; @tailwind utilities; -* { cursor: url(/general/9front-cursor.png), auto; } +/* * { cursor: url(/general/9front-cursor.png), auto; } */ /* Container */ .container-blog { -- cgit v1.2.3