Compare commits

...

2 Commits

Author SHA1 Message Date
e56e1e8e51 Format
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-09-14 20:09:36 +01:00
3938d190d5 Add comments
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
2025-09-14 19:40:37 +01:00
6 changed files with 15 additions and 11 deletions

View File

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

View File

@@ -3,6 +3,10 @@
{{ partial "components/hero/index.html" . }}
<div class="content">
{{ .Content }}
{{ if (default true .Params.comments) }}
{{ partial "comments.html" . }}
{{ end }}
</div>
{{ partial "components/postnav/index.html" . }}
</main>

View File

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

View File

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

View File

View File

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