diff options
-rw-r--r-- | _layouts/default.html | 8 | ||||
-rw-r--r-- | _layouts/post.html | 8 | ||||
-rw-r--r-- | default.nix | 2 |
3 files changed, 6 insertions, 12 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 %} diff --git a/default.nix b/default.nix index 76994ac..2684cea 100644 --- a/default.nix +++ b/default.nix @@ -71,7 +71,7 @@ in rec { echo 'Starting a live server with:' echo ' jekyll serve --future --livereload --trace' echo 'Server with feature flags:' - echo ' jekyll serve --future --livereload --trace -c $(cfg podcast screencast direct-video music)' + echo ' jekyll serve --future --livereload --trace -c $(cfg podcast music)' export JEKYLL_ENV=production |