diff --git a/config/_default/config.toml b/config/_default/config.toml index b92697bc0c..199da51a1c 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -17,7 +17,6 @@ assetDir = "src" site_banner_enabled = false github_username = "letsencrypt" -mastodon_username = "letsencrypt" linkedin_url = "https://www.linkedin.com/company/lets-encrypt/" crowdfunding_url = "https://www.generosity.com/community-fundraising/make-a-more-secure-web-with-let-s-encrypt" diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c72ff59bf4..7d00250dab 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -16,9 +16,6 @@ {{ partial "header" . }} {{ block "main" . }}{{ end }} - {{ if .Page.Params.should_display_prominent_newsletter_form }} - {{ partial "newsletter-form" . }} - {{ end }} {{ partial "footer" . }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 30cc9fd41c..e481700bef 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -29,7 +29,7 @@ {{- range .Page.Translations -}} {{- if eq "en" .Language.Lang -}} {{- $currentpage_en := .Page -}} - + {{- if.Page.Params.show_lastmod -}} {{- partial "lastmod" . -}} {{- end -}} @@ -81,11 +81,11 @@ {{- i18n "english_is_canonical" | safeHTML -}} {{- end -}} - + {{- if.Page.Params.show_lastmod -}} {{- partial "lastmod" . -}} {{- end -}} - + {{- partial "outdated_translation" . -}} {{- $scratch := newScratch -}} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 4ba4ab73a1..1b633dea98 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,12 @@ +{{ if and (ne .Section "documents") (.Page.Params.display_newsletter_embed) }} +
+
+ {{ partial "newsletter-form" . }} +
+
+{{ end }} + + {{ if and (ne .Section "docs") (ne .Section "documents") (not .Params.no_donate_footer) }} - -