diff options
author | Franck Cuny <franck@fcuny.net> | 2021-03-07 16:23:59 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2021-03-07 16:23:59 -0800 |
commit | 6f3729b383909ca091925defed83d8ce37b9e7d5 (patch) | |
tree | d4cc5dc34b6d00857a50de13260205d438d8ca05 /users/fcuny/blog/layouts/_default/list.html | |
download | world-6f3729b383909ca091925defed83d8ce37b9e7d5.tar.gz |
initial site with hugo
Start my website from scratch once more, using hugo to generate it. For now the layout is pretty simple: - an index page that will list future notes - notes should be created under the "content" directory The theme is custom and I'll try to keep this simple.
Diffstat (limited to 'users/fcuny/blog/layouts/_default/list.html')
-rw-r--r-- | users/fcuny/blog/layouts/_default/list.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/users/fcuny/blog/layouts/_default/list.html b/users/fcuny/blog/layouts/_default/list.html new file mode 100644 index 0000000..3423cb6 --- /dev/null +++ b/users/fcuny/blog/layouts/_default/list.html @@ -0,0 +1,10 @@ +{{ define "main" }} + +<h1>{{ .Title }}</h1> +{{ range .Pages.ByPublishDate.Reverse }} +<p> + <a class="font-125" href="{{ .RelPermalink }}">{{ .Title }}</a> +</p> +{{ end }} + +{{ end }} |