mirror of
https://github.com/alvierahman90/gronk.git
synced 2024-11-24 08:09:52 +00:00
lecture_slides, lecture_notes metadata support
This commit is contained in:
parent
a91f5dcdfc
commit
0ae70aa2b3
@ -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
|
||||
|
@ -21,6 +21,21 @@
|
||||
<p class="smallText metadata">
|
||||
title: $title$
|
||||
</p>
|
||||
$if(lecture_slides)$
|
||||
<p class="smallText metadata"> lecture_slides: [
|
||||
$for(lecture_slides)$
|
||||
<a href="$lecture_slides$">$lecture_slides$</a>$sep$,
|
||||
$endfor$
|
||||
]</p>
|
||||
$endif$
|
||||
$if(lecture_notes)$
|
||||
<p class="smallText metadata"> lecture_notes: [
|
||||
$for(lecture_notes)$
|
||||
<a href="$lecture_notes$">$lecture_notes$</a>$sep$,
|
||||
$endfor$
|
||||
]</p>
|
||||
$endif$
|
||||
|
||||
<p class="smallText metadata">
|
||||
uuid: $uuid$ (<a href="/permalink?uuid=$uuid$">permalink</a>)
|
||||
</p>
|
||||
|
Loading…
Reference in New Issue
Block a user