diff options
Diffstat (limited to 'themes')
| -rw-r--r-- | themes/simple/layouts/_default/_markup/render-image.html | 8 | ||||
| -rw-r--r-- | themes/simple/layouts/_default/single.html | 4 | ||||
| -rw-r--r-- | themes/simple/layouts/partials/comments.html | 2 | ||||
| -rw-r--r-- | themes/simple/static/css/tailwind.css | 2 |
4 files changed, 12 insertions, 4 deletions
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 @@ | |||
| 1 | <figure> | ||
| 2 | <a href="{{ .Destination }}" target="_blank"> | ||
| 3 | <img | ||
| 4 | loading="lazy" | ||
| 5 | src="{{ .Destination }}" | ||
| 6 | alt="{{ .Text }}" title="{{ .Text }}"> | ||
| 7 | </a> | ||
| 8 | </figure> | ||
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 @@ | |||
| 28 | {{ end }} | 28 | {{ end }} |
| 29 | 29 | ||
| 30 | <!-- Comment, contact --> | 30 | <!-- Comment, contact --> |
| 31 | {{ if in .Type "posts" }} | 31 | {{ if not (eq .Type "pages") }} |
| 32 | <section class="mb-10"> | 32 | <section class="mb-10"> |
| 33 | {{ partial "comments.html" . }} | 33 | {{ partial "comments.html" . }} |
| 34 | </section> | 34 | </section> |
| 35 | {{ end }} | 35 | {{ end }} |
| 36 | 36 | ||
| 37 | {{ if in .Type "posts" }} | 37 | {{ if not (eq .Type "pages") }} |
| 38 | <hr class="border-2 border-gray-100 mb-10" /> | 38 | <hr class="border-2 border-gray-100 mb-10" /> |
| 39 | {{ end }} | 39 | {{ end }} |
| 40 | 40 | ||
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 @@ | |||
| 1 | <section class="comments"> | 1 | <section class="comments"> |
| 2 | <h2 class="text-xl font-bold mb-2">Want to comment or have you something to add?</h2> | 2 | <h2 class="text-xl font-bold mb-2">Want to comment or have something to add?</h2> |
| 3 | 3 | ||
| 4 | <p class="mb-10"> | 4 | <p class="mb-10"> |
| 5 | You can write me an email at | 5 | 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 @@ | |||
| 2 | @tailwind components; | 2 | @tailwind components; |
| 3 | @tailwind utilities; | 3 | @tailwind utilities; |
| 4 | 4 | ||
| 5 | * { cursor: url(/general/9front-cursor.png), auto; } | 5 | /* * { cursor: url(/general/9front-cursor.png), auto; } */ |
| 6 | 6 | ||
| 7 | /* Container */ | 7 | /* Container */ |
| 8 | .container-blog { | 8 | .container-blog { |
