mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-24 17:52:11 +00:00
Actually use local bookmarks file
This commit is contained in:
parent
2796526310
commit
12b542c351
1 changed files with 1 additions and 2 deletions
|
@ -7,8 +7,7 @@
|
|||
Timestamp format: <code>YYYY-MM-DD HH:MM</code>, as per <cite><a href="https://www.ietf.org/rfc/rfc3339.txt">RFC 3339</a></cite>
|
||||
</p>
|
||||
<ol>
|
||||
{{ $bookmarks := getJSON "https://seirdy.one/data/bookmarks.json" -}}
|
||||
{{ range sort $bookmarks "tags" "desc" -}}
|
||||
{{ range sort (index .Site.Data "bookmarks") "tags" "desc" -}}
|
||||
{{ $bookmark := . -}}
|
||||
{{- $tags := split $bookmark.tags "," -}}
|
||||
{{- $firstTag := index $tags 0 }}
|
||||
|
|
Loading…
Reference in a new issue