aboutsummaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-02-07 19:32:28 -0300
committerEuAndreh <eu@euandre.org>2021-02-07 19:32:28 -0300
commitb754f0337cdaa3366dff6251162c0da4b7816efd (patch)
tree2250f828609a99d5d7dc01284b0cc040cad73908 /_layouts
parentRemove sample screencast (diff)
downloadeuandre.org-b754f0337cdaa3366dff6251162c0da4b7816efd.tar.gz
euandre.org-b754f0337cdaa3366dff6251162c0da4b7816efd.tar.xz
Remove direct-video and screencast flags: enable them by default
Diffstat (limited to '')
-rw-r--r--_layouts/default.html8
-rw-r--r--_layouts/post.html8
2 files changed, 5 insertions, 11 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 36d5671..6764f6a 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -12,9 +12,7 @@
{% if site.flags.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.flags.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 %}
+ <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] }}" />
<title>{{ page.title }} - EuAndreh</title>
<meta property="og:site_name" content="{{ site.title }}" />
@@ -51,9 +49,7 @@
{% if site.flags.podcast %}
<a href="{% link {{ site.t.podcasts.url[page.lang] }} %}">{{ site.t.podcasts.name[page.lang] }}</a>
{% endif %}
- {% if site.flags.screencast %}
- <a href="{% link {{ site.t.screencasts.url[page.lang] }} %}">{{ site.t.screencasts.name[page.lang] }}</a>
- {% endif %}
+ <a href="{% link {{ site.t.screencasts.url[page.lang] }} %}">{{ site.t.screencasts.name[page.lang] }}</a>
{% if site.flags.music %}
<a href="{% link {{ site.t.music.url[page.lang] }} %}">{{ site.t.music.name[page.lang] }}</a>
{% endif %}
diff --git a/_layouts/post.html b/_layouts/post.html
index c6a7c29..13dbf21 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -28,11 +28,9 @@ layout: default
{% if page.video %}
{% assign webm=page.url | replace_first: "/", "" | replace: ".html", ".webm" %}
- {% if site.flags.direct-video %}
- <video width="320" height="240" controls>
- <source src="{% link {{ webm }} %}" type="video/webm" />
- </video>
- {% endif %}
+ <video width="320" height="240" controls>
+ <source src="{% link {{ webm }} %}" type="video/webm" />
+ </video>
<div class="torrent-link">
{% capture torrent-file %}{{ webm | absolute_url | append: ".torrent" }}{% endcapture %}