Skip to content

Commit

Permalink
Fix deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed Jul 30, 2024
1 parent 7a3fef6 commit 74bea06
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ module:
- source: node_modules/mathjax/es5/output/chtml/fonts/woff-v2
target: static/mathjax/es5/output/chtml/fonts/woff-v2

# googleAnalytics: UA-123-45
disqusShortname: hugothemeiris

paginate: 3
canonifyURLs: true
enableRobotsTXT: true
Expand All @@ -35,6 +32,12 @@ enableEmoji: true
enableGitInfo: true
enableInlineShortcodes: true

services:
# googleAnalytics
# id: G-XXXXXXXXX
disqus:
shortname: hugothemeiris

taxonomies: {}
# - tag: tags

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</section>
{{ end }}

{{ if $.Site.DisqusShortname }}
{{ if $.Site.Config.Services.Disqus.Shortname }}
<section class="section">
{{ template "_internal/disqus.html" . }}
</section>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/check-tools.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
w3Validator: 'https://validator.w3.org/nu/?doc=',
facebook: 'https://developers.facebook.com/tools/debug/?q=',
}
{{ if $.Site.IsServer }}
{{ if hugo.IsServer }}
const toolURL = toolsTable[toolName] + '{{ $.Site.Params.productionBaseURL | safeURL }}{{ .RelPermalink }}';
{{ else }}
const toolURL = toolsTable[toolName] + window.location.href;
Expand Down
2 changes: 1 addition & 1 deletion theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ licenselink = "https://github.com/peaceiris/hugo-theme-iris/blob/main/LICENSE"
description = "Hugo Iris Theme - Portfolio and Blog"
homepage = "https://github.com/peaceiris/hugo-theme-iris"
demosite = "https://hugothemeiris.peaceiris.com/"
min_version = "0.110.0"
min_version = "0.120.0"
tags = [
"blog",
"responsive",
Expand Down

0 comments on commit 74bea06

Please sign in to comment.