Fix photo template

This commit is contained in:
Fundor333
2025-05-05 11:19:48 +02:00
parent c4a41e04a0
commit b50202ceac
30 changed files with 30 additions and 8 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 MiB

View File

@@ -0,0 +1,15 @@
---
title: "Green With Flower"
date: 2025-05-05T10:01:55+02:00
themes:
- green
- white
- flower
- nature
description: A little green patch with a little beautifull flower
images: ['_D0A1901.jpg']
resources:
- title: "Green With Flower"
src: '_D0A1901.jpg'
---

View File

@@ -21,16 +21,23 @@
{{ partial "toc.html" .}}
<div class="page-content e-content">
{{ with .Resources.ByType "image" }}
<div class="grid grid-cols-1 place-items-center ">
{{ range . }}
{{ $image := .Fit "1024x1024" }}
{{ $image := . }}
{{ if $image }}
<div class="container-fluid text-justify">
{{ $resource := imageConfig (add "/content/" $image.RelPermalink) }}
<figure class="figure grid grid-cols-1 place-items-center hmedia">
<img loading="lazy" class="u-photo u-featured rounded-lg shadow-2xl" src="{{ $image.RelPermalink }}" width="{{ $image.Width }}" height="{{ $image.Height }}" alt="{{ $.Description }}">
<div class="flex flex-col items-stretch">
<figure class="figure hmedia">
<img loading="lazy" class="u-photo rounded-lg figure-img img-fluid" src="{{ $image.Permalink }}"alt="{{ $.Description }}">
{{if .Params.feature_link}}
<figcaption class="figure-caption">{{ $.Description }}</figcaption>
</figure>
<a class="self-center" href="{{ .Params.feature_link}}">{{.Params.feature_text}}</a>
{{end}}
</div>
{{end}}
{{ with .Exif }}
<table>
@@ -144,7 +151,6 @@
</div>
</div>
</div>
</article>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

View File

@@ -0,0 +1 @@
{"Exif":{"Lat":0,"Long":0,"Date":"2025-05-03T12:21:15+02:00","Tags":{"ApertureValue":4,"Artist":"Fundor333","Copyright":"© fundor333","CreateDate":"2025:05:03 12:21:15","CustomRendered|uint16":"0","DateTimeOriginal":"2025:05:03 12:21:15","ExposureCompensation|*imagemeta.rat[int32]":"0","ExposureTime|*imagemeta.rat[uint32]":"1/200","FNumber|*imagemeta.rat[uint32]":"4","FocalLength|*imagemeta.rat[uint32]":"70","ISO|uint16":"125","LensInfo":"70 200 undef undef","LensModel":"RF70-200mm F4 L IS USM","LensSerialNumber":"2033000253","Make":"Canon","MaxApertureValue":4,"Model":"Canon EOS R5","ModifyDate":"2025:05:05 09:41:07","OffsetTime":"+02:00","OffsetTimeDigitized":"+01:00","OffsetTimeOriginal":"+01:00","RecommendedExposureIndex|uint32":"125","SceneCaptureType|uint16":"0","SensitivityType|uint16":"2","SerialNumber":"253026001930","ShutterSpeedValue":0.005000000657709118,"Software":"Adobe Lightroom 8.3 (Macintosh)","SubSecTimeDigitized|int":"5","SubSecTimeOriginal|int":"5"}}}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB