Adding start of the /now page

This commit is contained in:
Dan 2025-12-29 18:33:30 +00:00
parent b4d33e213d
commit 65b5ec1978
28 changed files with 2413 additions and 36 deletions

View file

@ -0,0 +1,23 @@
{{ $file := .file }}
{{ $context := .context }}
{{ with $context.Resources.GetMatch $file }}
<div class="whiteboard" style="width: {{ .Params.width }}; height: {{ .Params.height }}">
<div class="whiteboard-surface">
<div class="whiteboard-title">{{ .Title }}</div>
<div class="whiteboard-content">
{{ .Content }}
</div>
{{ if .Params.sticky_notes }}
<div class="wb-notes">
{{ range $index, $note := .Params.sticky_notes }}
{{ if lt $index 3 }}
<div class="wb-note wb-note-{{ $note.color | default "yellow" }}">
<div class="wb-note-content">{{ $note.text }}</div>
</div>
{{ end }}
{{ end }}
</div>
{{ end }}
</div>
</div>
{{ end }}