Pinboard partial formatting

This commit is contained in:
David Eisinger
2023-01-10 09:58:50 -05:00
parent 94530997e4
commit 9f321cd06e

View File

@@ -1,13 +1,13 @@
<section> <section>
<hr> <hr>
{{ with getJSON "https://feeds.pinboard.in/json/u:DCE/" }}
<h3>Links (from <a href="https://pinboard.in/u:DCE">Pinboard</a>)</h3> <h3>Links (from <a href="https://pinboard.in/u:DCE">Pinboard</a>)</h3>
{{ with getJSON "https://feeds.pinboard.in/json/u:DCE/" }}
<ul> <ul>
{{ range first 5 . }} {{ range first 5 . }}
<li> <li>
<a href="{{ .u }}">{{ .d }}</a> ({{ dateFormat "2006-01-02" .dt}}) <a href="{{ .u }}">{{ .d }}</a> ({{ dateFormat "2006-01-02" .dt }})
<p>{{ .n }}</p> <p>{{ .n }}</p>
</li> </li>
{{ end }} {{ end }}