rj1.su - my website
git clone https://github.com/rj1/rj1.su
commit 29f25e9af3fde069336bd7c4795349dc84b093b2 parent 5b1b667dcd201b5ee062d14ef61719393c91c080 author: rj1 <[email protected]> date: Wed, 14 Dec 2022 01:12:50 -0600 separate homepage layout and content Diffstat:
M | content/_index.md | | | 1 | + |
M | themes/rj1/layouts/index.html | | | 2 | +- |
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/content/_index.md b/content/_index.md @@ -3,3 +3,4 @@ title = "home" author = "rj1" +++ +welcome to my public [notebook](/notes) diff --git a/themes/rj1/layouts/index.html b/themes/rj1/layouts/index.html @@ -10,7 +10,7 @@ <p>{{ .Site.Params.Subtitle | markdownify }}</p> {{- end -}} </div> - welcome to my public <a href="/notes">notebook</a> + {{ .Content }} </main> {{ partial "footer.html" . }} </div>