77 lines
3.6 KiB
HTML
77 lines
3.6 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
{% include head.html %}
|
|
</head>
|
|
|
|
<body>
|
|
{% include svg.html %}
|
|
<header class="head">
|
|
{% include header.html %}
|
|
{% include nav.html %}
|
|
</header>
|
|
{% include search.html %}
|
|
<section class="margin">
|
|
<div class="content">
|
|
<div class="content_container">
|
|
<article>
|
|
{% if page.type == "vimeo" %}
|
|
{% if page.vimeo-embed %}
|
|
<div class="video_container">
|
|
{{ page.vimeo-embed }}
|
|
</div>
|
|
{% endif %}
|
|
{% elsif page.type == "youtube" %}
|
|
{% if page.yt-video-id %}
|
|
<div class="video_container">
|
|
<iframe src="https://www.youtube.com/embed/{{page.yt-video-id}}?feature=player_detailpage" frameborder="0" allowfullscreen></iframe>
|
|
</div>
|
|
{% endif %}
|
|
{% elsif page.type == "image" or page.type == "gallery" %}
|
|
{% if page.featimg %}
|
|
<img class="featimg" src="{{ site.media_folder | prepend: site.baseurl | replace: '//', '/'}}/{{ page.featimg }}" alt="{{ page.featimg }}">
|
|
{% endif %}
|
|
{% elsif page.type == "audio" %}
|
|
{% if page.audio-embed %}
|
|
{{ page.audio-embed }}
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
<h1 class="post_title">
|
|
{{ page.title }}
|
|
</h1>
|
|
<div class="meta">
|
|
{% include author.html%} •
|
|
<span class="date">
|
|
Published on {{ page.date | date: '%B %d, %Y' }}
|
|
</span>
|
|
</div>
|
|
{% if page.type == "standard" %}
|
|
{% if page.featimg %}
|
|
<img class="featimg" src="{{ site.media_folder | prepend: site.baseurl | replace: '//', '/'}}/{{ page.featimg }}" alt="{{ page.featimg }}">
|
|
{% endif %}
|
|
{% endif %}
|
|
<div class="post_content">
|
|
{{ content }}
|
|
{% include share-buttons.html %}
|
|
</div>
|
|
|
|
</article>
|
|
|
|
<div class="post_nav">
|
|
{% if page.previous.url %}
|
|
<a class="prev" href="{{ page.previous.url | prepend: site.baseurl | replace: '//', '/' }}"><i class="fa fa-angle-left"></i><span class="short"> prev</span><span class="long">ious post</span></a>
|
|
{% endif %}
|
|
{% if page.next.url %}
|
|
<a class="next" href="{{ page.next.url | prepend: site.baseurl | replace: '//', '/' }}"><span class="short">next </span><span class="long">post </span><i class="fa fa-angle-right"></i></a>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% include sidebar.html %}
|
|
</div>
|
|
</section>
|
|
{% include footer.html %}
|
|
<script src="{{ site.baseurl | replace: '//', '/' }}/js/build/global.min.js"></script>
|
|
</body>
|
|
</html>
|