mirror of
https://github.com/Threnklyn/dungeon-sheets.git
synced 2026-06-13 16:13:32 +02:00
Made a Content base class, and changed GM extra content interface.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
<h1 id="[[ title | to_heading_id ]]">[[ title ]]</h1>
|
||||
[% for section in sections %]
|
||||
|
||||
[[ rst | rst_to_html ]]
|
||||
<h1 id="extra-[[ section.name | to_heading_id ]]">[[ section.name ]]</h1>
|
||||
|
||||
[[ section.__doc__ | rst_to_html ]]
|
||||
|
||||
[% endfor %]
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
\pdfbookmark[0]{[[ title ]]}{[[ title ]]}
|
||||
\section*{[[ title ]]}
|
||||
[% for section in sections %]
|
||||
|
||||
[[ rst | rst_to_latex ]]
|
||||
\pdfbookmark[0]{[[ section.name ]]}{[[ section.name ]]}
|
||||
\section*{[[ section.name ]]}
|
||||
|
||||
[[ section.__doc__ | rst_to_latex ]]
|
||||
|
||||
[% endfor %]
|
||||
|
||||
Reference in New Issue
Block a user