pull bookmarks from Marky

This commit is contained in:
David Eisinger
2025-11-04 00:40:29 -05:00
parent a29e7fbabd
commit 9a298e77a0
2 changed files with 22 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
<section>
<hr>
<h3>Links (from <a href="https://bookmarks.davideisinger.com/u:dce">Marky</a>)</h3>
{{ with resources.GetRemote "https://bookmarks.davideisinger.com/u:dce.json" | transform.Unmarshal }}
<ul>
{{ range . | first 10 }}
<li>
<p>
<a href="{{ .url}}">{{ .title }}</a>
{{ if .referrer }} (<a href="{{ .referrer }}">via</a>){{ end }}
<span class="nowrap">({{ dateFormat "2006-01-02" .updated_at }})</span>
</p>
<blockquote><p>{{ .description }}</p></blockquote>
</li>
{{ end }}
</ul>
{{ end }}
</section>