diff options
Diffstat (limited to 'generators/hugo/themes/tdro/layouts/partials/article-webrings.html')
-rw-r--r-- | generators/hugo/themes/tdro/layouts/partials/article-webrings.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/generators/hugo/themes/tdro/layouts/partials/article-webrings.html b/generators/hugo/themes/tdro/layouts/partials/article-webrings.html new file mode 100644 index 0000000..2d8189b --- /dev/null +++ b/generators/hugo/themes/tdro/layouts/partials/article-webrings.html @@ -0,0 +1,17 @@ +{{- $webrings := "themes/tdro/layouts/partials/webrings/openring.html" -}} +{{- $include := "webrings/openring.html" -}} + +{{- if fileExists $webrings -}} +<article-on-web id="article-on-web"> + <section> + <button-anchor> + <a href="https://git.sr.ht/~sircmpwn/openring" title="Generated by Open Ring"> + {{ safeHTML (readFile "public/css/icons/feather/help-circle.svg") }} + <span>Openring</span> + </a> + </button-anchor> + <h2>On the Web</h2> + </section> + {{- partial $include . -}} +</article-on-web> +{{- end -}} |