Move from static -> assets

This commit is contained in:
2025-05-19 20:33:01 -04:00
parent 0a7745a3fe
commit b662b3ddc0
7 changed files with 2412 additions and 4 deletions

View File

@ -0,0 +1,11 @@
{{- .Scratch.Set "type" "note" -}}
{{- with .Get 0 }}{{ $.Scratch.Set "type" . }}{{ end -}}
<aside class="notice {{ .Scratch.Get "type" }}">
<hr>
<div class="notice-title">
<img class="notice-title-icon" src="{{ "images/exclamation.svg" | relURL }}" height="15">
<span>{{ with .Get 1 }}{{ . }}{{ else }}{{ .Scratch.Get "type" | humanize }}{{ end }}</span>
</div>
<div class="notice-body">{{ .Inner | markdownify }}</div>
<hr>
</aside>