feat: finish CV

This commit is contained in:
Ben Goldsworthy 2024-02-04 01:40:15 +00:00
parent 941c59b7a7
commit 187900fd5b
16 changed files with 1604 additions and 166 deletions

View file

@ -2,13 +2,13 @@
{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}}
{{- $pages := slice -}}
{{- if or $.IsHome $.IsSection -}}
{{- $pages = where $pctx.RegularPages "Params.redact" "ne" true -}}
{{- $pages = where $pctx.RegularPages "Params.redact" "ne" true -}}
{{- else -}}
{{- $pages = where $pctx.Pages "Params.redact" "ne" true -}}
{{- $pages = where $pctx.Pages "Params.redact" "ne" true -}}
{{- end -}}
{{- $limit := .Site.Config.Services.RSS.Limit -}}
{{- if ge $limit 1 -}}
{{- $pages = $pages | first $limit -}}
{{- $pages = $pages | first $limit -}}
{{- end -}}
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">