Content as Markdown with YAML front matter

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YDRjtmAiNpo5mK5N3d7QwZ
This commit is contained in:
2026-10-11 16:08:12 +02:00
co-authored by Claude Opus 5.5
parent e586197fcf
commit 35ede38dde
397 changed files with 7360 additions and 6458 deletions
+1 -1
View File
@@ -2,6 +2,6 @@
<dl class="entries">
{{ range . }}
<dt>{{ if .url }}<a href="{{ .url }}" rel="nofollow noopener">{{ .title | default .url }}</a>{{ else }}{{ .title }}{{ end }}{{ with .platform }} <small>{{ . }}</small>{{ end }}</dt>
{{ with .text }}<dd>{{ . | safeHTML }}</dd>{{ end }}
{{ with .text }}<dd>{{ . | markdownify }}</dd>{{ end }}
{{ end }}
</dl>
+1 -1
View File
@@ -6,7 +6,7 @@
<figcaption>
{{ with .title }}<strong>{{ . }}</strong>{{ end }}
{{ with .subtitle }}<em>{{ . }}</em>{{ end }}
{{ with .text }}<div>{{ . | safeHTML }}</div>{{ end }}
{{ with .text }}<div>{{ . | markdownify }}</div>{{ end }}
</figcaption>
</figure>
{{ end }}
+1 -1
View File
@@ -1,7 +1,7 @@
<table class="specs">
<tbody>
{{ range . }}
<tr><th>{{ index . 0 }}</th><td>{{ index . 1 | safeHTML }}</td></tr>
<tr><th>{{ .label }}</th><td>{{ .value | markdownify }}</td></tr>
{{ end }}
</tbody>
</table>
+2 -2
View File
@@ -26,7 +26,7 @@
<figure>
{{ with .cover }}<img src="{{ . }}" alt="" loading="lazy">{{ end }}
<figcaption>
{{ if .text }}<div>{{ .text | safeHTML }}</div>
{{ if .text }}<div>{{ .text | markdownify }}</div>
{{ else }}<a href="{{ .url }}"><strong>{{ .title }}</strong></a>{{ end }}
</figcaption>
</figure>
@@ -39,7 +39,7 @@
{{ range $p.comments }}
<li>
<p class="meta"><strong>{{ .author }}</strong>{{ with .date }} · {{ . }}{{ end }}</p>
<div>{{ .text | safeHTML }}</div>
<div>{{ .text | markdownify }}</div>
</li>
{{ end }}
</ol>