Skip to content

Commit

Permalink
fix: deprecation warnings (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
deining authored Oct 16, 2024
1 parent d9aafc4 commit 98c88d0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand All @@ -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 }}"
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 />
Expand Down
2 changes: 1 addition & 1 deletion layouts/portfolio/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ <h2>{{ .name | markdownify }}</h2>
</a>
</div>
{{ end }}
<div class="seperator">
<div class="separator">
{{ range .tags }}
<p class="tag">{{ . }}</p>
{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 98c88d0

Please sign in to comment.