Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-09-14 20:09:36 +01:00
parent 3938d190d5
commit e56e1e8e51
4 changed files with 11 additions and 11 deletions

View File

@@ -82,7 +82,7 @@ details {
} }
summary::before { summary::before {
content: ''; content: "";
border-width: 0.4rem; border-width: 0.4rem;
border-style: solid; border-style: solid;
border-color: transparent transparent transparent var(--text); border-color: transparent transparent transparent var(--text);

View File

@@ -1,5 +1,5 @@
<details class="toc"> <details class="toc">
<summary>Post Contents</summary> <summary>Post Contents</summary>
{{ .Page.TableOfContents }} {{ .Page.TableOfContents }}
</details> </details>
{{- /* chomp trailing newline */ -}} {{- /* chomp trailing newline */ -}}

View File

@@ -1,22 +1,22 @@
{{ $src := "" }} {{ $src := "" }}
{{ if .IsNamedParams }} {{ if .IsNamedParams }}
{{ $src = .Get "src" }} {{ $src = .Get "src" }}
{{ else }} {{ else }}
{{ $src = .Get 0 }} {{ $src = .Get 0 }}
{{ end }} {{ end }}
{{ $title := "" }} {{ $title := "" }}
{{ if .IsNamedParams }} {{ if .IsNamedParams }}
{{ $title = .Get "title" }} {{ $title = .Get "title" }}
{{ else }} {{ else }}
{{ $title = .Get 1 }} {{ $title = .Get 1 }}
{{ end }} {{ end }}
{{ $alt := "" }} {{ $alt := "" }}
{{ if .IsNamedParams }} {{ if .IsNamedParams }}
{{ $alt = .Get "alt" }} {{ $alt = .Get "alt" }}
{{ else }} {{ else }}
{{ $alt = .Get 1 }} {{ $alt = .Get 1 }}
{{ end }} {{ end }}
{{ $data := partial "components/image/process.html" (dict "page" .Page "src" $src) }} {{ $data := partial "components/image/process.html" (dict "page" .Page "src" $src) }}

View File

@@ -8,9 +8,9 @@
{{ $lens := "" }} {{ $lens := "" }}
{{ if ne $make $lensMake }} {{ if ne $make $lensMake }}
{{ $lens = printf "%s %s" $lensMake $lensModel }} {{ $lens = printf "%s %s" $lensMake $lensModel }}
{{ else }} {{ else }}
{{ $lens = $lensModel }} {{ $lens = $lensModel }}
{{ end }} {{ end }}
{{ $focal := printf "%.1f" (float $exif.FocalLength) }} {{ $focal := printf "%.1f" (float $exif.FocalLength) }}