diff options
author | JJ <nicetry@noemail.com> | 2025-03-19 14:56:26 +0000 |
---|---|---|
committer | JJ <nicetry@noemail.com> | 2025-03-19 14:56:26 +0000 |
commit | 16f52b7bef745097f7076dde76715db378b54343 (patch) | |
tree | cfcacda8adced2059dcc120d2bc2446d3c4f960a /layouts/notes |
first commit
Diffstat (limited to 'layouts/notes')
-rw-r--r-- | layouts/notes/list.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/notes/list.html b/layouts/notes/list.html new file mode 100644 index 0000000..b34d8b4 --- /dev/null +++ b/layouts/notes/list.html @@ -0,0 +1,12 @@ +{{ define "main" }} +<content> + {{ range $course, $taxonomy := site.Taxonomies.course }} + <h2>{{ $course | title }}</h2> + <ul class="blog-posts"> + {{ range $taxonomy.Pages }} {{ if eq .Type "notes" }} + <li><a href="{{ .Permalink }}">{{ .Title }}</a></li> + {{ end }} {{ end }} + </ul> + {{ end }} +</content> +{{ end }} |