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" . . -}}