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 | a3f8e661ad54cfec14ca671ea671e728ffc9bb91 (patch) | |
tree | 311e573cd5669a07a88b630f906a66ff0aa52d85 /users/fcuny/notes/layouts/index.html | |
download | world-a3f8e661ad54cfec14ca671ea671e728ffc9bb91.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 '')
-rw-r--r-- | users/fcuny/notes/layouts/index.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/users/fcuny/notes/layouts/index.html b/users/fcuny/notes/layouts/index.html new file mode 100644 index 0000000..5f49f24 --- /dev/null +++ b/users/fcuny/notes/layouts/index.html @@ -0,0 +1,22 @@ +{{ define "main" }} + +<div> + <h1>Franck Cuny</h1> + + <ul> + <li>Email: <a href="mailto:franck@fcuny.net">franck@fcuny.net</a></li> + <li>GitHub: <a href="https://github.com/fcuny">@fcuny</a></li> + <li>Twitter: <a href="https://twitter.com/franckcuny">@franckcuny</a></li> + </ul> + + <p>I'm currently working as a <a href="https://twitter.com/twittersre">Site Reliability Engineer</a> at Twitter, on the Compute team.</p> + + <h2>Notes</h2> + {{ $section := "notes" }} + <ul> + {{ range (where .Site.RegularPages.ByTitle "Section" $section ) }} + <li><a href="{{ .Permalink }}">{{ .Params.title | humanize | title }} ({{ .Date.Format "2021-01" }})</a></li> + {{ end }} + </ul> + +{{ end }} |