Skip to content

Commit

Permalink
Fix deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
twistedpair committed Jan 1, 2025
1 parent cbff6dc commit 9293e07
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
*.o
*.a
*.so
public/

# IDEDA
*.iml
Expand Down
13 changes: 9 additions & 4 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ title: lust.dev
languageCode: en-us
copyright: "Joe Lust"
theme: ghostwriter
googleAnalytics: "UA-17498476-1"
googleAnalytics: "361208091"
# TODO this is a dupe in Params
disqusShortname: lustforge
relativeURLs: true

ignoreLogs:
- warning-goldmark-raw-html

markup:
highlight:
codeFences: true
Expand All @@ -27,9 +31,6 @@ privacy:
respectDoNotTrack: true
useSessionStorage: false

author:
name: "Joseph Lust"
profile: ""

taxonomies:
tag: tags
Expand All @@ -55,6 +56,10 @@ params:
dateFormat: "2 Jan '06"
readingTime: true
readingTimeText: ""
disqusShortName: "lustforge"
author:
name: "Joseph Lust"
profile: ""

permalinks:
post: "/:year/:month/:day/:filename/"
Expand Down
2 changes: 1 addition & 1 deletion themes/ghostwriter/layouts/partials/disqus.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

{{ if .Site.DisqusShortname }}
{{ if .Site.Params.disqusShortname }}
<div class="comments">
{{ template "_internal/disqus.html" . }}
</div>
Expand Down
2 changes: 1 addition & 1 deletion themes/ghostwriter/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1 class="site-title">
</div>

<p class="footer-copyright">
<span>&copy; {{ .Site.LastChange.Format "2006" }} / Powered by <a href="https://gohugo.io/">Hugo</a></span>
<span>&copy; {{ .Site.Lastmod.Format "2006" }} / Powered by <a href="https://gohugo.io/">Hugo</a></span>
</p>
<p class="footer-copyright">
<span><a href="https://github.com/roryg/ghostwriter">Ghostwriter theme</a> By <a href="http://jollygoodthemes.com">JollyGoodThemes</a></span>
Expand Down

0 comments on commit 9293e07

Please sign in to comment.