diff --git a/hugo.toml b/hugo.toml index 3e5a964..9e3c1d2 100644 --- a/hugo.toml +++ b/hugo.toml @@ -3,12 +3,16 @@ baseURL = "https://axul.org" languageCode = "fr-FR" theme = "ananke" -DefaultContentLanguage = "fr" +defaultContentLanguage = "fr" # SectionPagesMenu = "main" -Paginate = 30 # this is set low for demonstrating with dummy content. Set to a higher number -googleAnalytics = "" enableRobotsTXT = true +[services.googleAnalytics] + id = '' + +[pagination] + pagerSize = 30 + [sitemap] changefreq = "monthly" priority = 0.5 @@ -53,6 +57,13 @@ enableRobotsTXT = true date_format = "Monday 2 January 2006" read_more_copy = "En savoir plus ..." -[[params.ananke_socials]] -name = "rss" -url = "/index.xml" +[params.ananke.social.follow] + networks = [ + "rss" + ] + +[params.ananke.social.rss] + profilelink = "/index.xml" + +[params.ananke.social.share] + disable_share = true diff --git a/layouts/blog/single.html b/layouts/blog/single.html index 0f1e04d..acc5395 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -14,7 +14,7 @@ */}} {{ .CurrentSection.Title }} - {{ partial "social-share.html" . }} + {{- partialCached "social/share.html" . . -}}

{{- .Title -}}

diff --git a/layouts/partials/site-footer.html b/layouts/partials/site-footer.html index ca125b4..81945a2 100644 --- a/layouts/partials/site-footer.html +++ b/layouts/partials/site-footer.html @@ -2,6 +2,6 @@
AXUL CC BY-SA 4.0 Contribuer au site -
{{ partial "social-follow.html" . }}
+
{{ partialCached "social/follow.html" . }}
diff --git a/themes/ananke b/themes/ananke index 986a5c4..6bc1b2c 160000 --- a/themes/ananke +++ b/themes/ananke @@ -1 +1 @@ -Subproject commit 986a5c45ce49800c8e99e84b6069b4cec4a81df6 +Subproject commit 6bc1b2cecf52d9e7c061d3499f7c662b4a4e787c