diff options
-rw-r--r-- | root.template | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/root.template b/root.template index a492b7a..8dac68c 100644 --- a/root.template +++ b/root.template @@ -16,6 +16,37 @@ </head> <body> <div class="box"> + <h4>Navn format</h4> + + <pre>$DATE/$COURSE/$MODULE/$SECTION/$PART</pre> + + <table> + <tr> + <td>$DATE:</td> + <td>ISO Date</td> + </tr> + <tr> + <td>$COURSE:</td> + <td>Course or subject name</td> + </tr> + <tr> + <td>$MODULE:</td> + <td>Index of subject, such as a single lecture</td> + </tr> + <tr> + <td>$SECTION:</td> + <td>Section of Module</td> + </tr> + <tr> + <td>$PART:</td> + <td>Document index</td> + </tr> + </table><br> + + <p>Examples:</p> + <pre>2020-09-09/sig/mm1/noter/1 +2020-09-09/sig/mm1/noter/2 +2020-09-09/sig/mm1/opg/1</pre> <table> <tr> <th>Location format</th> @@ -48,7 +79,7 @@ </tr> {{ range .Notes }} <tr> - <td>#{{ .Hash }}/{{ .Location }}</td> + <td style="font-family: monospace;">#{{ .Hash }}/{{ .Location }}</td> <td>{{ .Name }}</td> </tr> {{ end }} |