aboutsummaryrefslogtreecommitdiff
path: root/_layouts/default.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_layouts/default.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 8ab772e..441af23 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -11,6 +11,9 @@
{% 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 %}
+ {% if site.screencast %}
+ <link rel="alternate" type="application/atom+xml" href="{{ site.t.screencasts.feed.url[page.lang] }}" hreflang="{{ page.lang }}" title="{{ site.t.screencasts.feed.title[page.lang] }}" />
+ {% endif %}
<title>{{ page.title }} - EuAndreh</title>
<meta property="og:site_name" content="{{ site.title }}" />
@@ -47,6 +50,9 @@
{% if site.podcast %}
<a href="{% link {{ site.t.podcasts.url[page.lang] }} %}">{{ site.t.podcasts.name[page.lang] }}</a>
{% endif %}
+ {% if site.screencast %}
+ <a href="{% link {{ site.t.screencasts.url[page.lang] }} %}">{{ site.t.screencasts.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 %}
@@ -89,6 +95,13 @@
<a href="{{ lpodcast.url }}" class="{{ lpodcast.lang }}">{{ lpodcast.lang }}</a>
</li>
{% endfor %}
+
+ {% assign lscreencasts=site.screencasts | where:"ref", page.ref | sort: 'lang' %}
+ {% for lscreencast in lscreencasts %}
+ <li>
+ <a href="{{ lscreencast.url }}" class="{{ lscreencast.lang }}">{{ lscreencast.lang }}</a>
+ </li>
+ {% endfor %}
</ul>
{% else %}
{% link break-build-if-any-page-has-a-missing-ref %}