noticket - updates

This commit is contained in:
Bastian de Byl
2025-01-08 12:35:09 -05:00
parent 67efdf6d41
commit dcea5bf679
24 changed files with 238 additions and 270 deletions

View File

@@ -0,0 +1,15 @@
{{- $src := .Get "src" }}
{{- $sub := .Get "sub" -}}
{{- $alt := .Get "alt" -}}
{{ if not .Parent }}
<div class="thumbnail-container">
{{ end }}
<a href="{{ $src }}"><div class="thumbnail">
<center><img src="{{ $src | replaceRE "^(.*static/img)/(.*)$" "$1/w_500/$2" }}" alt="{{ $alt }}" title="{{ $alt }}"></center>
{{- if $sub -}}
<center><sub>{{ $sub }}</sub></center>
{{- end -}}
</div></a>
{{ if not .Parent }}
</div>
{{ end }}