matthew.paste.lol / bookmarks.html · 3 months ago·

{{< bookmarks >}}
{{ range .items }}
{{ $url := urls.Parse .url }}
{{ if not (hasPrefix .id "link") }}
{{< bookmarks >}} {{ range .items }}
{{ $url := urls.Parse .url }}
{{ if not (hasPrefix .id "link") }}
<blockquote style="margin: 1em 0;">
<p>{{ replace (replace ( .content_html | plainify | truncate 300 ) "Reader: " "") $url.Host "" }}</p>
<footer style="text-align: left; margin-top: 0; line-break: anywhere;"><cite><a class="u-bookmark-of" href="{{ .url }}">{{ .url | truncate 40 }}</a></cite> ↗
<span style="display:block; opacity: 0.6; font-size: 0.9em; font-style:italic;">Saved: {{ time.Format "Jan 2, 2006" .date_published}}</span> 
<span style="display:block; opacity: 0.6; font-size: 0.9em; font-style:italic;">Tags: {{ .tags }}</span>
</footer>
 </blockquote>
{{ end }}
{{ end }}
{{< /bookmarks >}}