External links open in a new tab

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 21:05:40 +02:00
co-authored by Claude Opus 5.5
parent 9acee407d4
commit 2b5c9df929
9 changed files with 16 additions and 7 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
{{ with .cover }}<img src="{{ . }}" alt="" loading="lazy">{{ end }}
<figcaption>
{{ if .text }}<div>{{ .text | markdownify }}</div>
{{ else }}<a href="{{ .url }}"><strong>{{ .title }}</strong></a>{{ end }}
{{ else }}<a href="{{ .url }}"{{ partial "ext.html" .url }}><strong>{{ .title }}</strong></a>{{ end }}
</figcaption>
</figure>
{{ end }}