aboutsummaryrefslogtreecommitdiff
path: root/generators/hugo/themes/tdro/layouts/partials/article-references.html
diff options
context:
space:
mode:
Diffstat (limited to 'generators/hugo/themes/tdro/layouts/partials/article-references.html')
-rw-r--r--generators/hugo/themes/tdro/layouts/partials/article-references.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/generators/hugo/themes/tdro/layouts/partials/article-references.html b/generators/hugo/themes/tdro/layouts/partials/article-references.html
new file mode 100644
index 0000000..ca3aee7
--- /dev/null
+++ b/generators/hugo/themes/tdro/layouts/partials/article-references.html
@@ -0,0 +1,11 @@
+{{- $exoference := print "themes/tdro/layouts/partials/generators/exoference/" .Slug ".html" -}}
+{{- $include := print "generators/exoference/" .Slug ".html" -}}
+
+{{- if fileExists $exoference -}}
+<article-references id="article-references">
+ <section>
+ <h2>References</h2>
+ </section>
+ {{- partial $include . -}}
+</article-references>
+{{- end -}}