feat: adding books section

This commit is contained in:
2025-07-22 15:36:08 +01:00
parent 4a7161b102
commit 61f615c1d5
13 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,3 @@
+++
title = 'Blog'
date = 2023-11-14T17:55:14Z
+++

4
content/books/_index.md Normal file
View File

@ -0,0 +1,4 @@
+++
title = 'Books'
date = 2025-07-22T15:15:00Z
+++

View File

@ -9,9 +9,15 @@ theme = 'risotto'
[[menu.main]]
name = 'Blog'
pageRef = '/blog'
weight = 1
[[menu.main]]
weight = 1
name = 'Projects'
pageRef = '/projects'
[[menu.main]]
weight = 10
name = 'Books'
pageRef = '/books'
[params.about]
title = "John Costa"

View File

@ -1,3 +1,4 @@
<li>
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
{{ $format := "02 Jan 2006" }}
<a href="{{ .Permalink }}">{{ .Date.Format $format }} | {{ .Title | markdownify }}</a>
</li>