aboutsummaryrefslogtreecommitdiff
path: root/_layouts/default.html
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-12-24 05:48:12 -0300
committerEuAndreh <eu@euandre.org>2020-12-24 05:48:12 -0300
commit567bb60b9cc7405f9f5fbc202c74f664d289e5ed (patch)
tree4e7de5e1b40a4be5197d55d617d54b9ce8399844 /_layouts/default.html
parentGenerate torrent files from ogg files (diff)
downloadeuandre.org-567bb60b9cc7405f9f5fbc202c74f664d289e5ed.tar.gz
euandre.org-567bb60b9cc7405f9f5fbc202c74f664d289e5ed.tar.xz
Use feature toggle to show podcast links
Diffstat (limited to '')
-rw-r--r--_layouts/default.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 33923a9..8ab772e 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -8,7 +8,9 @@
<link rel="alternate" type="application/atom+xml" href="{{ site.t.pastebins.feed.url[page.lang] }}" hreflang="{{ page.lang }}" title="{{ site.t.pastebins.feed.title[page.lang] }}" />
<link rel="alternate" type="application/atom+xml" href="{{ site.t.tils.feed.url[page.lang] }}" hreflang="{{ page.lang }}" title="{{ site.t.tils.feed.title[page.lang] }}" />
<link rel="alternate" type="application/atom+xml" href="{{ site.t.slides.feed.url[page.lang] }}" hreflang="{{ page.lang }}" title="{{ site.t.slides.feed.title[page.lang] }}" />
- <!-- <link rel="alternate" type="application/atom+xml" href="{{ site.t.podcasts.feed.url[page.lang] }}" hreflang="{{ page.lang }}" title="{{ site.t.podcasts.feed.title[page.lang] }}" /> -->
+ {% if site.podcast %}
+ <link rel="alternate" type="application/atom+xml" href="{{ site.t.podcasts.feed.url[page.lang] }}" hreflang="{{ page.lang }}" title="{{ site.t.podcasts.feed.title[page.lang] }}" />
+ {% endif %}
<title>{{ page.title }} - EuAndreh</title>
<meta property="og:site_name" content="{{ site.title }}" />
@@ -42,7 +44,9 @@
<a href="{% link {{ site.t.tils.url[page.lang] }} %}">{{ site.t.tils.name[page.lang] }}</a>
<a href="{% link {{ site.t.slides.url[page.lang] }} %}">{{ site.t.slides.name[page.lang] }}</a>
<a href="{% link {{ site.t.pastebins.url[page.lang] }} %}">{{ site.t.pastebins.name[page.lang] }}</a>
- <!-- <a href="{% link {{ site.t.podcasts.url[page.lang] }} %}">{{ site.t.podcasts.name[page.lang] }}</a> -->
+ {% if site.podcast %}
+ <a href="{% link {{ site.t.podcasts.url[page.lang] }} %}">{{ site.t.podcasts.name[page.lang] }}</a>
+ {% endif %}
<a href="{% link {{ site.t.about.url[page.lang] }} %}">{{ site.t.about.name[page.lang] }}</a>
</div>
{% if page.ref != nil %}