From 00cbe0f3b4c9dc314e9a6739a13afae5681abca4 Mon Sep 17 00:00:00 2001 From: Dudi Levy Date: Tue, 23 Jan 2018 16:44:24 +0200 Subject: [PATCH] Make the subscribe buton optional --- layouts/partials/header-sori-tag.html | 2 +- layouts/partials/header-sori-term.html | 2 +- layouts/partials/header-sori.html | 2 +- layouts/partials/header.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/partials/header-sori-tag.html b/layouts/partials/header-sori-tag.html index dde3ddc..32ddecf 100644 --- a/layouts/partials/header-sori-tag.html +++ b/layouts/partials/header-sori-tag.html @@ -28,7 +28,7 @@ {{ if .Site.Params.RSSLink}} Subscribe - {{else}} + {{else if .Site.Params.showSubscribe}} Subscribe {{end}} diff --git a/layouts/partials/header-sori-term.html b/layouts/partials/header-sori-term.html index 9a2ec21..06388d1 100644 --- a/layouts/partials/header-sori-term.html +++ b/layouts/partials/header-sori-term.html @@ -28,7 +28,7 @@ {{ if .Site.Params.RSSLink}} Subscribe - {{else}} + {{else if .Site.Params.showSubscribe}} Subscribe {{end}} diff --git a/layouts/partials/header-sori.html b/layouts/partials/header-sori.html index 785f760..b3dcdb7 100644 --- a/layouts/partials/header-sori.html +++ b/layouts/partials/header-sori.html @@ -28,7 +28,7 @@ {{ if .Site.Params.RSSLink}} Subscribe - {{else}} + {{else if .Site.Params.showSubscribe}} Subscribe {{end}} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 4445381..2262936 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -32,7 +32,7 @@

{{ .Site.Params.subtitle }}

{{ if .Site.Params.RSSLink}} Subscribe - {{else}} + {{else if .Site.Params.showSubscribe}} Subscribe {{end}}