commit 9a298e77a0c6112acdf82a1443bafebf4704b985 parent a29e7fbabd5e65bb1779496f664375fb49b0bf61 Author: David Eisinger <[email protected]> Date: Tue, 4 Nov 2025 00:40:29 -0500 pull bookmarks from Marky Diffstat:
| M | themes/v2/layouts/index.html | | | 2 | +- |
| A | themes/v2/layouts/partials/marky.html | | | 21 | +++++++++++++++++++++ |
2 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/themes/v2/layouts/index.html b/themes/v2/layouts/index.html @@ -71,5 +71,5 @@ </ul> </section> - {{- partial "pinboard.html" . -}} + {{- partial "marky.html" . -}} {{ end }} diff --git a/themes/v2/layouts/partials/marky.html b/themes/v2/layouts/partials/marky.html @@ -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>