From 9293e078527f927e5546fe2c22eebb7f02076f38 Mon Sep 17 00:00:00 2001 From: Joe Lust Date: Tue, 31 Dec 2024 22:02:29 -0500 Subject: [PATCH] Fix deprecations --- .gitignore | 1 + config.yml | 13 +++++++++---- themes/ghostwriter/layouts/partials/disqus.html | 2 +- themes/ghostwriter/layouts/partials/footer.html | 2 +- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index b725f631..20b6a9ed 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ *.o *.a *.so +public/ # IDEDA *.iml diff --git a/config.yml b/config.yml index fa991953..30c97b21 100644 --- a/config.yml +++ b/config.yml @@ -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 @@ -27,9 +31,6 @@ privacy: respectDoNotTrack: true useSessionStorage: false -author: - name: "Joseph Lust" - profile: "" taxonomies: tag: tags @@ -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/" diff --git a/themes/ghostwriter/layouts/partials/disqus.html b/themes/ghostwriter/layouts/partials/disqus.html index 95c0529b..3d1b6b8a 100644 --- a/themes/ghostwriter/layouts/partials/disqus.html +++ b/themes/ghostwriter/layouts/partials/disqus.html @@ -1,5 +1,5 @@ -{{ if .Site.DisqusShortname }} +{{ if .Site.Params.disqusShortname }}
{{ template "_internal/disqus.html" . }}
diff --git a/themes/ghostwriter/layouts/partials/footer.html b/themes/ghostwriter/layouts/partials/footer.html index 21d40fad..9c9774b6 100644 --- a/themes/ghostwriter/layouts/partials/footer.html +++ b/themes/ghostwriter/layouts/partials/footer.html @@ -13,7 +13,7 @@