diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index f494b487..06653c6f 100755 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -9,6 +9,6 @@ A simple, lightweight theme for Hugo built with Tailwind CSS. This is the homepage. It's just plain Markdown content and can render whatever you wish. -Perhaps you'll link to an [about](/about) page, or direct people to check out your [blog posts](/post). It's really up to you. +Perhaps you'll link to an [about](/about/) page, or direct people to check out your [blog posts](/blog/). It's really up to you. {{< figure src="mountains.jpg" caption="Photo by [Anna Scarfiello](https://unsplash.com/@little_anne?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)." >}} diff --git a/exampleSite/content/blog/markdown-syntax.md b/exampleSite/content/blog/markdown-syntax.md index 4b0606fc..1563a825 100755 --- a/exampleSite/content/blog/markdown-syntax.md +++ b/exampleSite/content/blog/markdown-syntax.md @@ -141,6 +141,6 @@ H2O Xn + Yn = Zn -Press CTRL+ALT+Delete to end the session. +Press CTRL+ALT+Delete to end the session. Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures. diff --git a/exampleSite/content/blog/math-typesetting.md b/exampleSite/content/blog/math-typesetting.md index 444743da..364c33c9 100755 --- a/exampleSite/content/blog/math-typesetting.md +++ b/exampleSite/content/blog/math-typesetting.md @@ -10,7 +10,7 @@ Mathematical notation in a Hugo project can be enabled by using third party Java -In this example we will be using [KaTeX](https://katex.org/) +In this example we will be using [KaTeX](https://katex.org/). - Create a partial under `/layouts/partials/math.html` - Within this partial reference the [Auto-render Extension](https://katex.org/docs/autorender.html) or host these scripts locally. @@ -27,24 +27,17 @@ In this example we will be using [KaTeX](https://katex.org/) **Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html) -{{< math.inline >}} -{{ if or .Page.Params.math .Site.Params.math }} - - - - -{{ end }} -{{ math.inline >}} + + + ### Examples -{{< math.inline >}} -
Inline math: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\)
-{{ math.inline >}} Block math: