Show 10 links

This commit is contained in:
David Eisinger
2023-02-24 10:22:58 -05:00
committed by GitHub
parent 71790b2376
commit 4ba1cdb37e

View File

@@ -5,7 +5,7 @@
{{ with getJSON "https://feeds.pinboard.in/json/u:DCE/" }} {{ with getJSON "https://feeds.pinboard.in/json/u:DCE/" }}
<ul> <ul>
{{ range first 5 . }} {{ range first 10 . }}
<li> <li>
<a href="{{ .u }}">{{ .d }}</a> <span class="nowrap">({{ dateFormat "2006-01-02" .dt }})</span> <a href="{{ .u }}">{{ .d }}</a> <span class="nowrap">({{ dateFormat "2006-01-02" .dt }})</span>
<p>{{ .n }}</p> <p>{{ .n }}</p>