diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 95a06c5..35a076f 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -18,6 +18,10 @@ {{ block "footer" . }} + + {{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 1ef1e03..39d754e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -7,4 +7,5 @@ +{{ if .Params.mathjax }}{{ partial "mathjax_support.html" . }}{{ end }} diff --git a/layouts/partials/mathjax_support.html b/layouts/partials/mathjax_support.html new file mode 100644 index 0000000..86ec9d0 --- /dev/null +++ b/layouts/partials/mathjax_support.html @@ -0,0 +1,22 @@ + + + diff --git a/static/css/style.css b/static/css/style.css index b6c6a02..7f3fcff 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -55,3 +55,11 @@ border: solid; border-weight: 2pt; padding: 4pt; } + + +code.has-jax { + -webkit-font-smoothing: antialiased; + background: inherit !important; + border: none !important; + font-size: 100%; +}