summaryrefslogtreecommitdiffstats
path: root/layouts/shortcodes
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/citation.html3
-rw-r--r--layouts/shortcodes/footnote.html3
-rw-r--r--layouts/shortcodes/footnotesList.html6
3 files changed, 12 insertions, 0 deletions
diff --git a/layouts/shortcodes/citation.html b/layouts/shortcodes/citation.html
new file mode 100644
index 0000000..df93f1c
--- /dev/null
+++ b/layouts/shortcodes/citation.html
@@ -0,0 +1,3 @@
+<li id="fn:{{ .Get 0 }}">
+ <p>{{ .Get 1 }}&nbsp;<a href="#fnref:{{ .Get 0 }}" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
+</li>
diff --git a/layouts/shortcodes/footnote.html b/layouts/shortcodes/footnote.html
new file mode 100644
index 0000000..506a1c7
--- /dev/null
+++ b/layouts/shortcodes/footnote.html
@@ -0,0 +1,3 @@
+<sup id="fnref:{{ .Get 0 }}">
+ <a href="#fn:{{ .Get 0 }}" class="footnote-ref" role="doc-noteref">*</a>
+</sup>
diff --git a/layouts/shortcodes/footnotesList.html b/layouts/shortcodes/footnotesList.html
new file mode 100644
index 0000000..bd17fee
--- /dev/null
+++ b/layouts/shortcodes/footnotesList.html
@@ -0,0 +1,6 @@
+<div class="footnotes" role="doc-endnotes">
+ <hr>
+ <ul>
+ {{ .Inner }}
+ </ul>
+</div>