hugo-theme-cistercian

A utility theme for using Cistercian numerals in Hugo sites

Technologies:

I wanted to use Cistercian numerals in Disquisition. Since that project uses Hugo, I wrote a utility Hugo theme for displaying Cistercian numerals.

Code available: fontawesome/brands/github mrled/hugo-theme-cistercian

How it looks

In all examples, I use a div with lightblue background to show what the Hugo partial prints to the page.

You can show annotated numerals:

<div style="background: lightblue; padding: 2em;">
{{< cistercianContainer num="420" annotatable=true >}}
</div>
􀀂􀀘􀀍 ( 420 )

Or unannotated ones:

<div style="background: lightblue; padding: 2em;">
{{< cistercianContainer num="420" annotatable=false >}}
</div>
􀀂􀀘􀀍

And there is special support for supporting (annotated) YYYY MMDD HHMM datetimestamps (with or without annotatable=):

<div style="background: lightblue; padding: 2em;">
{{< cistercianDate date="2021-10-29T11:39:00" >}}
</div>
􀀂􀀟􀀍􀀃 􀀂􀀞􀀍􀀋 􀀂􀀞􀀕􀀎􀀋

You can control annotations with an included button. This button works on this page and will toggle the annotations on/off!

<div style="background: lightblue; padding: 2em;">
{{< cistercianToggleAnnotationsControl >}}
</div>