aboutsummaryrefslogtreecommitdiff
path: root/generators/hugo/themes/tdro/layouts/partials/article-references.html
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2022-08-31 03:48:02 -0400
committerThedro Neely <thedroneely@gmail.com>2022-08-31 03:48:02 -0400
commit30e9489b68540678ffeda38773e41429a0bb16f5 (patch)
treeaccf9680a12f00541a1aa6ef60d22f4a3c89fd06 /generators/hugo/themes/tdro/layouts/partials/article-references.html
parent526026c3e9df262e14651e2d6160171f89f5f761 (diff)
downloadthedroneely.com-30e9489b68540678ffeda38773e41429a0bb16f5.tar.gz
thedroneely.com-30e9489b68540678ffeda38773e41429a0bb16f5.tar.bz2
thedroneely.com-30e9489b68540678ffeda38773e41429a0bb16f5.zip
generators/hugo: Add references and make file
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 -}}