Import of the new theme
This commit is contained in:
parent
04104f0bff
commit
0693a85c3f
331 changed files with 21077 additions and 8782 deletions
16
_layouts/blog.html
Normal file
16
_layouts/blog.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: default
|
||||
format: blog-index
|
||||
# Don't index these pages dear Google.
|
||||
noindex: true
|
||||
---
|
||||
<div class="row">
|
||||
<div class="medium-8 columns t30">
|
||||
{% include pagination.html %}
|
||||
</div><!-- /.medium-7.columns -->
|
||||
|
||||
|
||||
<div class="medium-4 columns t30">
|
||||
{% include sidebar.html %}
|
||||
</div><!-- /.medium-5.columns -->
|
||||
</div><!-- /.row -->
|
11
_layouts/compress.html
Normal file
11
_layouts/compress.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
#
|
||||
# Jekyll layout that compresses HTML
|
||||
# v1.1.2
|
||||
# http://jch.penibelst.de/
|
||||
# © 2014–2015 Anatol Broder
|
||||
# MIT License
|
||||
#
|
||||
---
|
||||
|
||||
{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% case _pres.size %}{% when 2 %}{% capture _content %}{{ _content }}<pre{{ _pres.first }}</pre>{{ _pres.last | split: " " | join: " " }}{% endcapture %}{% when 1 %}{% capture _content %}{{ _content }}{{ _pres.last | split: " " | join: " " }}{% endcapture %}{% endcase %}{% endfor %}{% if site.compress_html.comments.size == 2 %}{% assign _comment_befores = _content | split: site.compress_html.comments.first %}{% for _comment_before in _comment_befores %}{% assign _comment_content = _comment_before | split: site.compress_html.comments.last | first %}{% if _comment_content %}{% capture _comment %}{{ site.compress_html.comments.first }}{{ _comment_content }}{{ site.compress_html.comments.last }}{% endcapture %}{% assign _content = _content | remove: _comment %}{% endif %}{% endfor %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{{ _content }}{% endif %}
|
16
_layouts/default.html
Normal file
16
_layouts/default.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: compress
|
||||
---
|
||||
{% include head.html %}
|
||||
<body id="top-of-page" class="{{ page.format }}">
|
||||
{% include navigation.html %}
|
||||
|
||||
{% include masthead.html %}
|
||||
|
||||
{{ content }}
|
||||
|
||||
{% include footer.html %}
|
||||
|
||||
{% include footer_scripts.html %}
|
||||
</body>
|
||||
</html>
|
107
_layouts/frontpage.html
Normal file
107
_layouts/frontpage.html
Normal file
|
@ -0,0 +1,107 @@
|
|||
---
|
||||
layout: default
|
||||
format: blog-index
|
||||
---
|
||||
<div id="header-home">
|
||||
<div class="row">
|
||||
<div class="small-12 columns">
|
||||
</div><!-- /.medium-4.columns -->
|
||||
</div><!-- /.row -->
|
||||
</div><!-- /#header-home -->
|
||||
|
||||
|
||||
{% comment %}
|
||||
*
|
||||
* First check, if widget is empty or not by checking if there is a title
|
||||
*
|
||||
{% endcomment %}
|
||||
<div class="row t60">
|
||||
{% if page.widget-1.title %}
|
||||
<div class="medium-4 columns">
|
||||
<a href="{{ page.widget-1.url }}">{% if page.widget-1.image %}<img src="{{ site.urlimg }}/{{ page.widget-1.image }}" width="302" height="182" alt="">{% endif %}{% if page.widget-1.video %}{{ page.widget-1.video }}{% endif %}</a>
|
||||
<h2 class="font-size-h3 t10">{{ page.widget-1.title }}</h2>
|
||||
<p>{{ page.widget-1.text }}</p>
|
||||
<p><a class="button tiny radius" href="{{ page.widget-1.url }}">{{ site.data.language.more }}</a></p>
|
||||
</div><!-- /.medium-4.columns -->
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if page.widget-2.title %}
|
||||
<div class="medium-4 columns">
|
||||
<a href="{{ page.widget-2.url }}">{% if page.widget-2.image %}<img src="{{ site.urlimg }}/{{ page.widget-2.image }}" width="302" height="182" alt="">{% endif %}{% if page.widget-2.video %}{{ page.widget-2.video }}{% endif %}</a>
|
||||
<h2 class="font-size-h3 t10">{{ page.widget-2.title }}</h2>
|
||||
<p>{{ page.widget-2.text }}</p>
|
||||
<p><a class="button tiny radius" href="{{ page.widget-2.url }}">{{ site.data.language.more }}</a></p>
|
||||
</div><!-- /.medium-4.columns -->
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if page.widget-3.title %}
|
||||
<div class="medium-4 columns">
|
||||
<a href="{{ page.widget-3.url }}">{% if page.widget-3.image %}<img src="{{ site.urlimg }}/{{ page.widget-3.image }}" width="302" height="182" alt="">{% endif %}{% if page.widget-3.video %}{{ page.widget-3.video }}{% endif %}</a>
|
||||
<h2 class="font-size-h3 t10">{{ page.widget-3.title }}</h2>
|
||||
<p>{{ page.widget-3.text }}</p>
|
||||
<p><a class="button tiny radius" href="{{ page.widget-3.url }}">Download @ GitHub ›</a></p>
|
||||
</div><!-- /.medium-4.columns -->
|
||||
{% endif %}
|
||||
</div><!-- /.row -->
|
||||
|
||||
|
||||
{% comment %}
|
||||
*
|
||||
* First check, if there are any posts at all
|
||||
*
|
||||
{% endcomment %}
|
||||
|
||||
{% unless site.posts == empty %}
|
||||
<div class="row t30 b20 homepage">
|
||||
<div class="small-12 columns">
|
||||
{% for post in site.posts limit:1 %}
|
||||
{% if post.image.homepage %}
|
||||
<p>
|
||||
<a href="{{ site.url }}{{ post.url }}" title="{{ post.title escape_once }}"><img width="970" src="{{ site.url }}/images/{{ post.image.homepage }}" alt="{{ page.title escape_once }}"></a>
|
||||
</p>
|
||||
|
||||
{% if post.image.caption_url && post.image.caption %}
|
||||
<p class="text-right caption">
|
||||
<a href="{{ post.image.caption_url }}">{{ post.image.caption }}</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% elsif post.image.homepage == NULL %}
|
||||
<h2>{{ site.data.language.new_blog_entries }}</h2>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div><!-- /.small-12.columns -->
|
||||
</div><!-- /.row -->
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="medium-6 columns">
|
||||
{% for post in site.posts limit:1 %}
|
||||
{% if post.subheadline %}<p class="subheadline">{{ post.subheadline }}</p>{% endif %}
|
||||
<h2><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></h2>
|
||||
<p>
|
||||
{% if post.meta_description %}{{ post.meta_description | strip_html | escape }}{% elsif post.teaser %}{{ post.teaser | strip_html | escape }}{% endif %}
|
||||
<a href="{{ site.url }}{{ post.url }}" title="Read {{ post.title escape_once }}"><strong>{{ site.data.language.read_more }}</strong></a>
|
||||
</p>
|
||||
{% endfor %}
|
||||
</div><!-- /.medium-5.columns -->
|
||||
|
||||
|
||||
<div class="medium-6 columns">
|
||||
<p><strong>{{ site.data.language.more_articles }}</strong></p>
|
||||
{% include list-posts.html entries='3' offset='1' %}
|
||||
</div><!-- /.medium-7.columns -->
|
||||
</div><!-- /.row -->
|
||||
{% endunless %}
|
||||
|
||||
|
||||
{% comment %}
|
||||
*
|
||||
* Finally, if there is content, spit it out.
|
||||
*
|
||||
{% endcomment %}
|
||||
|
||||
<div class="row">
|
||||
{{ content }}
|
||||
</div><!-- /.row -->
|
40
_layouts/page-fullwidth.html
Normal file
40
_layouts/page-fullwidth.html
Normal file
|
@ -0,0 +1,40 @@
|
|||
---
|
||||
layout: default
|
||||
format: page-fullwidth
|
||||
---
|
||||
{% if page.image.title %}
|
||||
<div class="row t30">
|
||||
<div class="small-12 columns">
|
||||
<img src="{{ site.url }}/images/{{ page.image.title }}" width="970" alt="{{ page.title escape_once }}">
|
||||
{% if page.image.caption_url && page.image.caption %}
|
||||
<p class="text-right caption">
|
||||
<a href="{{ page.image.caption_url }}">{{ page.image.caption }}</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
</div><!-- /.small-12.columns -->
|
||||
</div><!-- /.row -->
|
||||
{% endif %}
|
||||
|
||||
|
||||
<div class="row t30">
|
||||
<div class="medium-12 columns">
|
||||
|
||||
<article>
|
||||
<header>
|
||||
{% if page.subheadline %}<p class="subheadline">{{ page.subheadline }}</p>{% endif %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
</header>
|
||||
|
||||
{% if page.teaser %}
|
||||
<p class="teaser">
|
||||
{{ page.teaser }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{{ content }}
|
||||
</article>
|
||||
|
||||
</div><!-- /.medium-12.columns -->
|
||||
</div><!-- /.row -->
|
||||
|
||||
|
|
@ -1,59 +1,65 @@
|
|||
<!doctype html>
|
||||
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
|
||||
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
|
||||
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
|
||||
<head>
|
||||
{% include head.html %}
|
||||
</head>
|
||||
---
|
||||
layout: default
|
||||
format: post
|
||||
---
|
||||
<div class="row t30">
|
||||
<div class="medium-8 columns{% if page.sidebar == NULL %} medium-offset-2 end{% endif %}{% if page.sidebar == "left" %} medium-push-4{% endif %}">
|
||||
<article itemscope itemtype="http://schema.org/Article">
|
||||
<header>
|
||||
{% if page.image.title %}
|
||||
<figure>
|
||||
<img src="{{ site.url }}/images/{{ page.image.title }}" width="970" alt="{{ page.title escape_once }}" itemprop="image">
|
||||
|
||||
<body id="page" {% if page.image.feature %}class="feature"{% endif %}>
|
||||
{% if page.image.caption_url && page.image.caption %}
|
||||
<figcaption class="text-right">
|
||||
<a href="{{ page.image.caption_url }}">{{ page.image.caption }}</a>
|
||||
</figcaption>
|
||||
{% elsif page.image.caption %}
|
||||
<figcaption class="text-right">
|
||||
{{ page.image.caption }}
|
||||
</figcaption>
|
||||
{% endif %}
|
||||
</figure>
|
||||
{% endif %}
|
||||
|
||||
{% include browser-upgrade.html %}
|
||||
{% include navigation.html %}
|
||||
<span itemprop="name">
|
||||
{% if page.subheadline %}<p class="subheadline">{{ page.subheadline }}</p>{% endif %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
</span>
|
||||
</header>
|
||||
|
||||
{% if page.image.feature %}
|
||||
<div class="entry-header">
|
||||
{% if page.image.credit %}<div class="image-credit">Image source: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></div><!-- /.image-credit -->{% endif %}
|
||||
<div class="entry-image">
|
||||
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }}">
|
||||
</div><!-- /.entry-image -->
|
||||
</div><!-- /.entry-header -->
|
||||
{% endif %}
|
||||
|
||||
<div id="main" role="main">
|
||||
<article class="hentry">
|
||||
<header class="header-title">
|
||||
<div class="header-title-wrap">
|
||||
<h1 class="entry-title">{{ page.title }}</h1>
|
||||
{% if site.reading_time %}
|
||||
<p class="entry-reading-time">
|
||||
<i class="fa fa-clock-o"></i>
|
||||
{% assign readtime = content | number_of_words | divided_by:site.words_per_minute %}
|
||||
Reading time ~{% if readtime <= 1 %}1 minute{% else %}{{ readtime }} minutes{% endif %}
|
||||
</p><!-- /.entry-reading-time -->
|
||||
{% endif %}
|
||||
</div><!-- /.header-title-wrap -->
|
||||
</header>
|
||||
<div class="entry-content">
|
||||
{{ content }}
|
||||
<footer class="entry-meta">
|
||||
{% if page.modified %}<span>Updated on <span class="entry-date date published updated"><time datetime="{{ page.modified }}">{{ page.modified | date: "%B %d, %Y" }}</time></span></span>
|
||||
<span class="author vcard"><span class="fn">{{ site.owner.name }}</span></span>{% endif %}
|
||||
{% if page.share != false %}{% include social-share.html %}{% endif %}
|
||||
</footer>
|
||||
</div><!-- /.entry-content -->
|
||||
{% if page.comments != false %}<section id="disqus_thread"></section><!-- /#disqus_thread -->{% endif %}
|
||||
</article>
|
||||
</div><!-- /#main -->
|
||||
{% if page.teaser %}
|
||||
<p class="teaser" itemprop="description">
|
||||
{{ page.teaser }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
<div class="footer-wrapper">
|
||||
<footer role="contentinfo">
|
||||
{% include footer.html %}
|
||||
</footer>
|
||||
</div><!-- /.footer-wrapper -->
|
||||
<span itemprop="articleSection">
|
||||
{{ content }}
|
||||
</span>
|
||||
|
||||
{% include scripts.html %}
|
||||
{% if page.show_meta == true %}
|
||||
{% include meta_information.html %}
|
||||
{% endif %}
|
||||
|
||||
</body>
|
||||
</html>
|
||||
{% if page.comments == true %}
|
||||
{% include comments.html %}
|
||||
{% endif %}
|
||||
</article>
|
||||
</div><!-- /.medium-8.columns -->
|
||||
|
||||
|
||||
{% if page.sidebar == "left" %}
|
||||
<div class="medium-4 columns medium-pull-8">
|
||||
{% include sidebar.html %}
|
||||
</div><!-- /.medium-4.columns -->
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if page.sidebar == "right" %}
|
||||
<div class="medium-4 columns">
|
||||
{% include sidebar.html %}
|
||||
</div><!-- /.medium-4.columns -->
|
||||
{% endif %}
|
||||
</div><!-- /.row -->
|
||||
|
|
|
@ -1,43 +0,0 @@
|
|||
<!doctype html>
|
||||
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
|
||||
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
|
||||
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
|
||||
<head>
|
||||
{% include head.html %}
|
||||
</head>
|
||||
|
||||
<body id="post-index" {% if page.image.feature %}class="feature"{% endif %}>
|
||||
|
||||
{% include browser-upgrade.html %}
|
||||
{% include navigation.html %}
|
||||
|
||||
<div class="entry-header">
|
||||
{% if page.image.credit %}<div class="image-credit">Image source: <a href="{{ page.image.creditlink }}">{{ page.image.credit }}</a></div><!-- /.image-credit -->{% endif %}
|
||||
{% if page.image.feature %}
|
||||
<div class="entry-image">
|
||||
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }}">
|
||||
</div><!-- /.entry-image -->
|
||||
{% endif %}
|
||||
<div class="header-title">
|
||||
<div class="header-title-wrap">
|
||||
<h1>{{ site.title }}</h1>
|
||||
<h2>{{ page.title }}</h2>
|
||||
</div><!-- /.header-title-wrap -->
|
||||
</div><!-- /.header-title -->
|
||||
</div><!-- /.entry-header -->
|
||||
|
||||
<div id="main" role="main">
|
||||
{{ content }}
|
||||
</div><!-- /#main -->
|
||||
|
||||
<div class="footer-wrapper">
|
||||
<footer role="contentinfo">
|
||||
{% include footer.html %}
|
||||
</footer>
|
||||
</div><!-- /.footer-wrapper -->
|
||||
|
||||
{% include scripts.html %}
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,66 +0,0 @@
|
|||
<!doctype html>
|
||||
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
|
||||
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
|
||||
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
|
||||
<head>
|
||||
{% include head.html %}
|
||||
</head>
|
||||
|
||||
<body id="post" {% if page.image.feature %}class="feature"{% endif %}>
|
||||
|
||||
{% include browser-upgrade.html %}
|
||||
{% include navigation.html %}
|
||||
|
||||
{% if page.image.feature %}
|
||||
<div class="entry-header">
|
||||
{% if page.image.credit %}<div class="image-credit">Image source: {% if page.image.creditlink %}<a href="{{ page.image.creditlink }}">{% endif %}{{ page.image.credit }}{% if page.image.creditlink %}</a>{% endif %}</div><!-- /.image-credit -->{% endif %}
|
||||
<div class="entry-image">
|
||||
<img src="{{ site.url }}/images/{{ page.image.feature }}" alt="{{ page.title }}">
|
||||
</div><!-- /.entry-image -->
|
||||
</div><!-- /.entry-header -->
|
||||
{% endif %}
|
||||
|
||||
<div id="main" role="main">
|
||||
<article class="hentry">
|
||||
<header class="header-title">
|
||||
<div class="header-title-wrap">
|
||||
{% if page.link %}
|
||||
<h1 class="entry-title"><i class="fa fa-bookmark permalink"></i> <a href="{{ page.link }}">{{ page.title }}</a></h1>
|
||||
{% else %}
|
||||
<h1 class="entry-title"><a href="{{ site.url }}{{ page.url }}" rel="bookmark" title="{{ page.title }}">{{ page.title }}</a></h1>
|
||||
{% endif %}
|
||||
<h2><span class="entry-date date published"><time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></span></h2>
|
||||
{% if site.reading_time %}
|
||||
<p class="entry-reading-time">
|
||||
<i class="fa fa-clock-o"></i>
|
||||
{% assign readtime = content | number_of_words | divided_by:site.words_per_minute %}
|
||||
Reading time ~{% if readtime <= 1 %}1 minute{% else %}{{ readtime }} minutes{% endif %}
|
||||
</p><!-- /.entry-reading-time -->
|
||||
{% endif %}
|
||||
</div><!-- /.header-title-wrap -->
|
||||
</header>
|
||||
<div class="entry-content">
|
||||
{{ content }}
|
||||
<footer class="entry-meta">
|
||||
<span class="entry-tags">{% for tag in page.tags %}<a href="{{ site.url }}/tags/#{{ tag }}" title="Pages tagged {{ tag }}" class="tag"><span class="term">{{ tag }}</span></a>{% unless forloop.last %}{% endunless %}{% endfor %}</span>
|
||||
{% if page.modified %}<span>Updated on <span class="entry-date date updated"><time datetime="{{ page.modified }}">{{ page.modified | date: "%B %d, %Y" }}</time></span></span>
|
||||
<span class="author vcard"><span class="fn">{{ site.owner.name }}</span></span>{% endif %}
|
||||
{% if page.share != false %}{% include social-share.html %}{% endif %}
|
||||
</footer>
|
||||
</div><!-- /.entry-content -->
|
||||
{% if page.comments != false %}<section id="disqus_thread"></section><!-- /#disqus_thread -->{% endif %}
|
||||
{% if site.related_posts.size > 0 %}{% include read-more.html %}{% endif %}
|
||||
</article>
|
||||
</div><!-- /#main -->
|
||||
|
||||
<div class="footer-wrapper">
|
||||
<footer role="contentinfo">
|
||||
{% include footer.html %}
|
||||
</footer>
|
||||
</div><!-- /.footer-wrapper -->
|
||||
|
||||
{% include scripts.html %}
|
||||
|
||||
</body>
|
||||
</html>
|
24
_layouts/redirect.html
Normal file
24
_layouts/redirect.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
# This layout is used to redirect pages, if you moved them.
|
||||
# Use the following settings in front matter:
|
||||
#
|
||||
# layout: redirect
|
||||
# sitemap: false
|
||||
# permalink: /old-location/
|
||||
# redirect_to: /new-location/
|
||||
#
|
||||
# Idea and Code by: http://codingtips.kanishkkunal.in/about/
|
||||
---
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="canonical" href="{{ page.redirect_to }}"/>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="refresh" content="0;url={{ page.redirect_to }}" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>Redirecting...</h1>
|
||||
{{ site.language.if_you_are_not_redirected_automatically }} <a href="{{ page.redirect_to }}">{{ site.language.click_here }}<a>.
|
||||
<script>location='{{ page.redirect_to }}'</script>
|
||||
</body>
|
||||
</html>
|
33
_layouts/tag_page.html
Normal file
33
_layouts/tag_page.html
Normal file
|
@ -0,0 +1,33 @@
|
|||
<!doctype html>
|
||||
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
|
||||
<!--[if (IE 7)&!(IEMobile)]><html class="no-js lt-ie9 lt-ie8" lang="en"><![endif]-->
|
||||
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"><!--<![endif]-->
|
||||
<head>
|
||||
{% include head.html %}
|
||||
</head>
|
||||
|
||||
<body id="page">
|
||||
|
||||
{% include browser-upgrade.html %}
|
||||
{% include navigation.html %}
|
||||
|
||||
<div id="main" role="main">
|
||||
<article class="hentry">
|
||||
<header class="header-title">
|
||||
<div class="header-title-wrap">
|
||||
<h1 class="entry-title">Posts tagged as '{{ page.tag }}'</h1>
|
||||
</div><!-- /.header-title-wrap -->
|
||||
</header>
|
||||
<div class="entry-content">
|
||||
<ul>
|
||||
{% for post in page.posts %}
|
||||
<li><a href="{{ post.url }}">{{ post.title }}</a> ({{ post.date | date_to_string }} | Tags: {{ post | tags }})</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div><!-- /.entry-content -->
|
||||
</article>
|
||||
</div><!-- /#main -->
|
||||
|
||||
</body>
|
||||
</html>
|
38
_layouts/video.html
Normal file
38
_layouts/video.html
Normal file
|
@ -0,0 +1,38 @@
|
|||
---
|
||||
layout: default
|
||||
format: video
|
||||
---
|
||||
<div class="row">
|
||||
<div class="small-12 columns">
|
||||
<article itemprop="video" itemscope itemtype="http://schema.org/VideoObject">
|
||||
<div class="flex-video">
|
||||
{{ page.iframe}}
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="medium-offset-2 medium-8 end columns">
|
||||
<header>
|
||||
{% if page.subheadline %}<p class="subheadline t30">{{ page.subheadline }}</p>{% endif %}
|
||||
<h1 itemprop="name">{{ page.title }}</h1>
|
||||
</header>
|
||||
|
||||
{% if page.video.thumbnailUrl %}<meta itemprop="thumbnailUrl" content="{{ page.video.thumbnailUrl }}" />{% endif %}
|
||||
{% if page.video.contentURL %}<meta itemprop="contentURL" content="{{ page.video.contentURL }}" />{% endif %}
|
||||
{% if page.video.embedURL %}<meta itemprop="embedURL" content="{{ page.video.embedURL }}" />{% endif %}
|
||||
|
||||
{% if page.teaser %}
|
||||
<p class="teaser" itemprop="description">
|
||||
{{ page.teaser }}
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{{ content }}
|
||||
{% if page.show_meta == true %}
|
||||
{% include meta_information.html %}
|
||||
{% endif %}
|
||||
</div><!-- /.medium-8.columns -->
|
||||
</div><!-- /.row -->
|
||||
</article>
|
||||
|
||||
</div><!-- /.small-12.columns -->
|
||||
</div><!-- /.row -->
|
Reference in a new issue