diff --git a/readme.md b/readme.md index db7ee86..1efe091 100644 --- a/readme.md +++ b/readme.md @@ -40,6 +40,8 @@ doing it for me: searching - `title` --- The title of the article - `uuid` --- A unique identifier used for permalinks. More below. + - `lecture_slides` --- a list of paths pointing to lecture slides used while taking notes + - `lecture_notes` --- a list of paths pointing to other notes used while taking notes - notes2web indexes [ATX-style headings](https://pandoc.org/MANUAL.html#atx-style-headings) for searching diff --git a/templates/article.html b/templates/article.html index 5729743..0d55afe 100644 --- a/templates/article.html +++ b/templates/article.html @@ -21,6 +21,21 @@

title: $title$

+ $if(lecture_slides)$ +

lecture_slides: [ + $for(lecture_slides)$ + $lecture_slides$$sep$, + $endfor$ + ]

+ $endif$ + $if(lecture_notes)$ +

lecture_notes: [ + $for(lecture_notes)$ + $lecture_notes$$sep$, + $endfor$ + ]

+ $endif$ +

uuid: $uuid$ (permalink)