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 | cd7c3abdbda16ab0a6cb0d7bed504ed930f9ca73 (patch) | |
| tree | 803de9245398d6e61c0e44e676550090e0de70e4 /layouts/_default/single.html | |
| download | fcuny.net-cd7c3abdbda16ab0a6cb0d7bed504ed930f9ca73.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 'layouts/_default/single.html')
| -rw-r--r-- | layouts/_default/single.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..a8c1dc7 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,11 @@ +{{ define "main" }} + +<p><a href="/">← Back to Franck's homepage</a></p> + +<h1>{{ .Title }}</h1> + +<p><span class="published">{{ .Date.Format "January 2021" }}</span></p> + +{{ .Content }} + +{{ end }} |
