mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-23 12:52:10 +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>
|
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>
|
</p>
|
||||||
<ol>
|
<ol>
|
||||||
{{ $bookmarks := getJSON "https://seirdy.one/data/bookmarks.json" -}}
|
{{ range sort (index .Site.Data "bookmarks") "tags" "desc" -}}
|
||||||
{{ range sort $bookmarks "tags" "desc" -}}
|
|
||||||
{{ $bookmark := . -}}
|
{{ $bookmark := . -}}
|
||||||
{{- $tags := split $bookmark.tags "," -}}
|
{{- $tags := split $bookmark.tags "," -}}
|
||||||
{{- $firstTag := index $tags 0 }}
|
{{- $firstTag := index $tags 0 }}
|
||||||
|
|
Loading…
Reference in a new issue