Unverified Commit 02f2724b authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

Improve blog design

parent 9ded481f
......@@ -10,7 +10,8 @@ layout: default
{% for post in site.posts %}
<h3><a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h3>
<span class="post-date"><p class="muted">{{ post.date | date: "%b %-d, %Y" }}<p></span>
<span class="post-date"><p class="muted">{{ post.date | date: "%b %-d, %Y" }}</p></span>
<p class="post-conent">{{ post.content | strip_html | truncatewords: 50 }}</p>
{% endfor %}
layout: default
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<header class="post-header">
<h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
<p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}</p>
<div class="post-content" itemprop="articleBody">
{{ content }}
<div class="w3-container">
<div class="post-header">
<a href="/blog"><h4><i class="fa fa-angle-left"></i> Back</h4></a>
<h1>{{ page.title }}</h1>
<p class="meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
<article class="post-content">
{{ content }}
This diff is collapsed.
@import url("font-awesome.min.css");
@font-face {
font-family: 'Montserrat';
font-style: normal;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment