commit 8d67dc453101b7ffa2d620cf3ce282cad5f08c0d parent 7cfeac61394132e86b1c634dcd2aded24d5754c5 Author: David Eisinger <[email protected]> Date: Mon, 7 Aug 2023 13:29:31 -0400 Use Pinboard RSS JSON feed is busted. Diffstat:
| M | themes/v2/layouts/partials/pinboard.html | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/themes/v2/layouts/partials/pinboard.html b/themes/v2/layouts/partials/pinboard.html @@ -3,12 +3,12 @@ <h3>Links (from <a href="https://pinboard.in/u:DCE">Pinboard</a>)</h3> - {{ with getJSON "https://feeds.pinboard.in/json/u:DCE/" }} + {{ with resources.GetRemote "https://feeds.pinboard.in/rss/u:DCE/" | transform.Unmarshal }} <ul> - {{ range first 10 . }} + {{ range .item | first 10 }} <li> - <a href="{{ .u }}">{{ .d }}</a> <span class="nowrap">({{ dateFormat "2006-01-02" .dt }})</span> - <p>{{ .n }}</p> + <a href="{{ .link }}">{{ .title }}</a> <span class="nowrap">({{ dateFormat "2006-01-02" .date }})</span> + <p>{{ .description }}</p> </li> {{ end }} </ul>