Transformed site to Bootstrap 4

See #11

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2017-12-24 20:08:36 +01:00
parent f6e0419292
commit 537b3a3a93
10 changed files with 150 additions and 139 deletions

View File

@ -1,20 +1,14 @@
<!DOCTYPE html>
<html lang="en">
{% include head.html %}
<body>
{% include header.html %}
<div class="page-content">
<div class="wrapper">
{{ content }}
</div>
</div>
{% include footer.html %}
</body>
{% include head.html %}
<body>
{% include header.html %}
<main class="container">
{{ content }}
</main>
{% include sidebar.html %}
{% include footer.html %}
</body>
</html>

View File

@ -7,7 +7,7 @@ layout: default
<h1 class="post-title">{{ page.title }}</h1>
</header>
<div class="post-content">
<div class="text-justify">
{{ content }}
</div>

View File

@ -3,13 +3,19 @@ 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>
</header>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
<p class="small text-muted">
<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>
</header>
<div class="post-content" itemprop="articleBody">
{{ content }}
</div>
<div class="text-justify" itemprop="articleBody">
{{ content }}
</div>
</article>