diff --git a/.gitignore b/.gitignore
index 1a4bd66..fb4ce92 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,7 +10,7 @@ old/
public/
public_*/
.hugo_build.lock
-csv/webrings.csv
+assets/csv/webrings.csv
results/
linter-configs/htmltest/
public.eac
diff --git a/csv/rewrites.csv b/assets/csv/rewrites.csv
similarity index 100%
rename from csv/rewrites.csv
rename to assets/csv/rewrites.csv
diff --git a/csv/webrings.base.csv b/assets/csv/webrings.base.csv
similarity index 100%
rename from csv/webrings.base.csv
rename to assets/csv/webrings.base.csv
diff --git a/layouts/_default/list.atom.xml b/layouts/_default/list.atom.xml
index e0dbc55..2a41629 100644
--- a/layouts/_default/list.atom.xml
+++ b/layouts/_default/list.atom.xml
@@ -63,7 +63,7 @@
Copyright © {{ now.Year }} Rohan Kumar
- {{ site.LastChange.UTC.Format "2006-01-02T15:04:05-07:00" | safeHTML }}
+ {{ site.Lastmod.UTC.Format "2006-01-02T15:04:05-07:00" | safeHTML }}
Hugo {{ .Site.Hugo.Version }}
{{ .Permalink }}
{{ range $pages -}}
diff --git a/layouts/partials/webmentions/rewrites.html b/layouts/partials/webmentions/rewrites.html
index 8b9911f..d045aae 100644
--- a/layouts/partials/webmentions/rewrites.html
+++ b/layouts/partials/webmentions/rewrites.html
@@ -1,5 +1,5 @@
{{- $rewritesDict := dict "" "" -}}
-{{- range $i, $r := (getCSV "," "/csv/rewrites.csv") -}}
+{{- range $i, $r := (resources.Get "csv/rewrites.csv" | transform.Unmarshal) -}}
{{- $rewritesDict = merge $rewritesDict (dict (index $r 0) (index $r 1)) -}}
{{- end -}}
{{- return $rewritesDict -}}
diff --git a/layouts/partials/webrings.html b/layouts/partials/webrings.html
index c8d5510..c7c2144 100644
--- a/layouts/partials/webrings.html
+++ b/layouts/partials/webrings.html
@@ -6,7 +6,7 @@
{{- $refPol = "strict-origin" -}}
{{- end -}}
Webrings
-{{ $webringData := after 1 (getCSV "," "/csv/webrings.csv") -}}
+{{ $webringData := after 1 (resources.Get "csv/webrings.csv" | transform.Unmarshal) -}}
This site is part of {{ len $webringData }} webrings . A webring is a collection of sites in a circular doubly-linked list; each website links to the next and previous site in the list.
Toggle webrings list
diff --git a/scripts/populate-webrings.sh b/scripts/populate-webrings.sh
index 1de8a33..1582d96 100755
--- a/scripts/populate-webrings.sh
+++ b/scripts/populate-webrings.sh
@@ -15,8 +15,8 @@ set -e -u
progname="$(basename "$0")"
dirname="$(dirname "$0")"
-webrings_src="$dirname/../csv/webrings.base.csv"
-webrings_dest="$dirname/../csv/webrings.csv"
+webrings_src="$dirname/../assets/csv/webrings.base.csv"
+webrings_dest="$dirname/../assets/csv/webrings.csv"
help_text="Usage: $progname [OPTION...]