aboutsummaryrefslogtreecommitdiff
path: root/layouts/notes/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/notes/list.html')
-rw-r--r--layouts/notes/list.html12
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 }}