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 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 themes/simple/layouts/_default/_markup/render-image.html (limited to 'themes/simple/layouts/_default') 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 }} -- cgit v1.2.3