dash-website/_layouts/post.html
0xfff 2b0331ad48 (Feature) Build System: Use npm scripts for the build process (#16)
* (Chore) Editorconfig: Add an editorconfig file so those spaces and tabs dont keep mixing

* (Refactor) Build: use npm scripts to build assets

* (Chore) Build: remove dist files from repo / fix ESLint errors

* (Update) Build: Remove unused tasks / add autoprefixer

* (Chore) Gemfile: remove old dependencies

* (Chore) Package.json: Shrinkwrap & postinstalll

* (Doc) Build: Update instructions for new build system

* (Fix) Build: Wach html files in all folders

* (Fix) Build: exclude _site/ from watch

* (Chore) Build/CI: Update buildscript for node/ruby combined

* (Chore) Travis: Add g++ compiler to environment

* (Chore) Build: fix watched directory

* (Fix) travis: set version to 4.5.0 LTS

* (Fix) travis: remove shrinkwrap

* (Fix) Travis: rvm

* (Fix) Travis: before_install

* (Fix) Travis: ignore dist for html proofer
2016-09-17 02:14:13 +02:00

36 lines
734 B
HTML

---
layout: default
---
{% tf blog/header.html %}
<div id="title">
<h1 class="content">{% if page.title %}{{ page.title }}{% endif %}</h1>
</div>
<div class="content">
<div class="main-col post">
{% if page.image %}
<img src="{{ page.image }}" class="hero-image">
{% endif %}
<em>{{ page.date | date: "%b %d, %Y" }}</em>
{{ content }}
{% include author.html %}
</div>
<div class="sidebar">
{% for post in site.related_posts limit:5 %}
<!-- limit:4 -->
<div class="feature">
<h3><a href="{{ basenav }}{{ post.url }}">{{ post.title }}</a></h3>
<p><em>{{ post.date | date: "%b %d, %Y" }}</em><br />{{ post.excerpt | strip_html | truncatewords: 10 }}</p>
</div>
{% endfor %}
</div>
</div>