summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-01-02 15:09:55 -0330
committerSam Anthony <sam@samanthony.xyz>2026-01-02 15:09:55 -0330
commitd41ba19690c7289c8815270adececb0fee09723f (patch)
tree68e9533626324113c670b100178bdd5ade396d12 /layouts
parent28079468bb4a82947c5759d6d556c1ee1e0a2a79 (diff)
downloadsamanthony.xyz-d41ba19690c7289c8815270adececb0fee09723f.zip
remove article list from home page
Diffstat (limited to 'layouts')
-rw-r--r--layouts/articles/home.html7
-rw-r--r--layouts/home.html4
2 files changed, 7 insertions, 4 deletions
diff --git a/layouts/articles/home.html b/layouts/articles/home.html
new file mode 100644
index 0000000..46ab1df
--- /dev/null
+++ b/layouts/articles/home.html
@@ -0,0 +1,7 @@
+{{ define "main" }}
+ {{ .Content }}
+ {{ range .Pages }}
+ <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
+ {{ .Summary }}
+ {{ end }}
+{{ end }}
diff --git a/layouts/home.html b/layouts/home.html
index 0df6597..e0e8308 100644
--- a/layouts/home.html
+++ b/layouts/home.html
@@ -1,7 +1,3 @@
{{ define "main" }}
{{ .Content }}
- {{ range site.RegularPages }}
- <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
- {{ .Summary }}
- {{ end }}
{{ end }}