summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/bookmarks-all.html
blob: b1fd562d24494d13af03b2c8f9b67e41bbd4784b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{{- $caption := .Inner }}
{{ $lastLetter := "Dupa" }}
{{ with resources.Get "more/bookmarks.yml"}}
{{ with . | transform.Unmarshal }}
<ul>
  {{ range (sort .bookmarks ".date" "desc") }}
  <li>
    {{ .date }}
    -
    <a href="{{ .url }}">{{ .title }}</a>
    ({{ .host }})
    {{ if .source_url }}
      (<a href="{{ .source_url }}">via {{ .source_host }}</a>)
    {{ end }}

    {{ end }}
</ul>
{{ end }}
{{ end }}