diff --git a/README.md b/README.md index 7ba4e86a..4616c385 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Anatole's aims to be minimalistic and sleek but still brings some great function - 100⁄100 Google Lighthouse score - Analytics powered by Google Analytics, Simple Analytics and Umami (optional) - Comments powered by Disqus, Commento, Gitalk, Utteranc.es or Giscus (optional) -- KaTex support (optional) +- KaTeX support (optional) - Formspree Contact Form (optional) - Twitter Cards support - Open Graph support diff --git a/exampleSite/config/_default/config.toml b/exampleSite/config/_default/hugo.toml similarity index 100% rename from exampleSite/config/_default/config.toml rename to exampleSite/config/_default/hugo.toml diff --git a/layouts/partials/head.html b/layouts/partials/head.html index e806dca5..ca76f8b8 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -39,7 +39,7 @@ <!-- CSS --> {{ if eq .Site.Language.LanguageDirection "rtl" }} {{ $sassTemplate := resources.Get "scss/anatole.rtl.scss" }} - {{ $style := $sassTemplate | resources.ExecuteAsTemplate "scss/main.rtl.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint }} + {{ $style := $sassTemplate | resources.ExecuteAsTemplate "scss/main.rtl.scss" . | css.Sass | resources.Minify | resources.Fingerprint }} <link rel="stylesheet" href="{{ $style.RelPermalink }}" @@ -49,7 +49,7 @@ /> {{ else }} {{ $sassTemplate := resources.Get "scss/anatole.scss" }} - {{ $style := $sassTemplate | resources.ExecuteAsTemplate "scss/main.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint }} + {{ $style := $sassTemplate | resources.ExecuteAsTemplate "scss/main.scss" . | css.Sass | resources.Minify | resources.Fingerprint }} <link rel="stylesheet" href="{{ $style.RelPermalink }}" diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 56306f16..d51d7774 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -72,7 +72,7 @@ {{ end }} </ul> <ul class="nav__list nav__list--end"> - {{ if and .IsTranslated .Site.IsMultiLingual }} + {{ if and .IsTranslated hugo.IsMultilingual }} <li class="nav__list-item"> <div class="optionswitch"> <input class="optionswitch__picker" type="checkbox" id="languagepicker" hidden /> diff --git a/layouts/portfolio/list.html b/layouts/portfolio/list.html index 3642f593..0f08721d 100644 --- a/layouts/portfolio/list.html +++ b/layouts/portfolio/list.html @@ -90,7 +90,7 @@ <h2>{{ .name | markdownify }}</h2> </a> </div> {{ end }} - <div class="seperator"> + <div class="separator"> {{ range .tags }} <p class="tag">{{ . }}</p> {{ end }} diff --git a/theme.toml b/theme.toml index 02666318..01342acc 100644 --- a/theme.toml +++ b/theme.toml @@ -9,7 +9,7 @@ homepage = "https://github.com/lxndrblz/anatole/" demosite = "https://anatole-demo.netlify.app/" tags = ["blog", "responsive", "clean", "minimalist", "minimal", "personal", "dark"] features = ["blog", "seo", "responsive", "mobile", "disqus", "fontawesome", "analytics", "math"] -min_version = "0.53.0" +min_version = "0.128.0" [author] name = "Alexander Bilz"