Skip to content

Commit

Permalink
Make the subscribe buton optional
Browse files Browse the repository at this point in the history
  • Loading branch information
dudil committed Jan 23, 2018
1 parent 1f800c6 commit 00cbe0f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/header-sori-tag.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</div>
{{ if .Site.Params.RSSLink}}
<a class="subscribe-button" href="{{.Site.Params.RSSLink }}">Subscribe</a> </div>
{{else}}
{{else if .Site.Params.showSubscribe}}
<a class="subscribe-button" href="{{if .IsNode}}{{.RSSLink}}{{else}}{{"index.xml" | absURL}}{{end}}">Subscribe</a>
{{end}}
</div>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/header-sori-term.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</div>
{{ if .Site.Params.RSSLink}}
<a class="subscribe-button" href="{{.Site.Params.RSSLink }}">Subscribe</a> </div>
{{else}}
{{else if .Site.Params.showSubscribe}}
<a class="subscribe-button" href="{{if .IsNode}}{{.RSSLink}}{{else}}{{"index.xml" | absURL}}{{end}}">Subscribe</a>
{{end}}
</div>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/header-sori.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</div>
{{ if .Site.Params.RSSLink}}
<a class="subscribe-button" href="{{.Site.Params.RSSLink }}">Subscribe</a> </div>
{{else}}
{{else if .Site.Params.showSubscribe}}
<a class="subscribe-button" href="{{if .IsNode}}{{.RSSLink}}{{else}}{{"index.xml" | absURL}}{{end}}">Subscribe</a>
{{end}}
</div>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h2 class="site-description">{{ .Site.Params.subtitle }} </h2>
</div>
{{ if .Site.Params.RSSLink}}
<a class="subscribe-button" href="{{.Site.Params.RSSLink }}">Subscribe</a> </div>
{{else}}
{{else if .Site.Params.showSubscribe}}
<a class="subscribe-button" href="{{if .IsNode}}{{.RSSLink}}{{else}}{{"index.xml" | absURL}}{{end}}">Subscribe</a>
{{end}}
</div>
Expand Down

0 comments on commit 00cbe0f

Please sign in to comment.