diff options
author | Patrick Spek <p.spek@tyil.nl> | 2023-03-13 16:19:04 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2023-03-13 16:19:04 +0100 |
commit | ed54b79220481f921ca90ced4b923e6369a68225 (patch) | |
tree | a5f106b1d1a02923e5d71e4e8daa905bc687ebff /layouts/projects/list.html | |
parent | dd7ebf0815d33e93a3cec6a046b88bb4997697d9 (diff) |
Add projects page
Diffstat (limited to 'layouts/projects/list.html')
-rw-r--r-- | layouts/projects/list.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/layouts/projects/list.html b/layouts/projects/list.html new file mode 100644 index 0000000..de50a9c --- /dev/null +++ b/layouts/projects/list.html @@ -0,0 +1,21 @@ +{{- define "main" }} +<h1>{{ .Title }}</h1> +{{ .Content }} +{{- range .Sections }} + <section class="project"> + <h2> + {{ .Title }} + <small> + {{- range .Params.languages }} + {{ . }} + {{- end }} + </small> + </h2> + {{ .Content }} + <nav class="project"> + <a href="{{ .Permalink }}releases">Releases</a> + <a href="{{ .Params.repository }}">Sources</a> + </nav> + </section> +{{- end }} +{{- end }} |