mirror of https://github.com/lxndrblz/anatole.git

Andreas Deininger
16.52.2024 98c88d0574cba5072c5fa11accf66776ea5d0cf9
fix: deprecation warnings (#521)

5 files modified
1 files renamed
12 ■■■■ changed files
README.md 2 ●●● patch | view | raw | blame | history
exampleSite/config/_default/hugo.toml patch | view | raw | blame | history
layouts/partials/head.html 4 ●●●● patch | view | raw | blame | history
layouts/partials/navbar.html 2 ●●● patch | view | raw | blame | history
layouts/portfolio/list.html 2 ●●● patch | view | raw | blame | history
theme.toml 2 ●●● patch | view | raw | blame | history
README.md
@@ -22,7 +22,7 @@
- 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
exampleSite/config/_default/hugo.toml
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 }}"
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 />
layouts/portfolio/list.html
@@ -90,7 +90,7 @@
                </a>
              </div>
            {{ end }}
            <div class="seperator">
            <div class="separator">
              {{ range .tags }}
                <p class="tag">{{ . }}</p>
              {{ end }}
theme.toml
@@ -9,7 +9,7 @@
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"