diff options
author | Thedro Neely <thedroneely@gmail.com> | 2022-08-31 03:48:02 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2022-08-31 03:48:02 -0400 |
commit | 30e9489b68540678ffeda38773e41429a0bb16f5 (patch) | |
tree | accf9680a12f00541a1aa6ef60d22f4a3c89fd06 /generators/hugo/themes/tdro/layouts/partials/article-references.html | |
parent | 526026c3e9df262e14651e2d6160171f89f5f761 (diff) | |
download | thedroneely.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.html | 11 |
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 -}} |