Files
monotrope/site/layouts/reviews/list.html
Louis Simoneau 5a734d404b Add GoatCounter analytics, Miniflux, and update CLAUDE.md
- Add self-hosted GoatCounter via systemd binary service (stats.monotrope.au)
- Add Miniflux RSS reader via Docker Compose (reader.monotrope.au)
- Extend Ansible playbook with goatcounter and miniflux tags; all provisioning is idempotent
- Add Caddy reverse proxy blocks for both new services
- Inject GoatCounter script in baseof.html (production builds only)
- Add goatcounter and miniflux Makefile targets
- Rewrite CLAUDE.md to reflect actual project state

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 15:09:53 +10:00

25 lines
901 B
HTML

{{ define "main" }}
<p class="section-label">reading</p>
<ul class="review-list">
{{ range .Pages.ByDate.Reverse }}
{{ $rating := .Params.rating | default 0 }}
<li>
<span class="review-date">{{ .Params.date_read | default (.Date.Format "2006-01") }}</span>
<div class="review-entry">
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ with .Params.book_author }}<span class="review-author">{{ . }}</span>{{ end }}
<span class="review-rating">
{{- strings.Repeat $rating "▓" -}}{{- strings.Repeat (sub 5 $rating) "░" -}}
<span style="color: var(--muted); font-size: 0.8em; margin-left: 0.4rem;">{{ $rating }}/5</span>
</span>
{{ with .Params.tags }}
<div class="tags">
{{ range . }}<a class="tag" href="/tags/{{ . | urlize }}/">{{ . }}</a>{{ end }}
</div>
{{ end }}
</div>
</li>
{{ end }}
</ul>
{{ end }}