Update data from current web site state

This commit is contained in:
2023-12-15 13:23:25 +01:00
parent 094e2b4a1a
commit 2eccc0dbaa
35 changed files with 250 additions and 4 deletions

View File

@@ -1,12 +1,15 @@
<figure>
<figure class="tsc-image">
{{ with .Get "href" }}
<a href="{{ . }}">
{{ end }}
<img
{{- with .Get "alt" }}alt="{{ . }}"{{ end }}
{{ with .Get "alt" }}alt="{{ . }}"{{ end }}
{{- $filename := .Get "src" }}
{{ $resource := .Page.Resources.Get $filename -}}
src="{{ $resource.RelPermalink }}"
style="
{{- with .Get "width" -}}max-width: {{.}}px;{{- end -}}
"
>
{{ with .Get "href" }}
</a>