Include index page into improved legibility
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
@ -111,7 +111,7 @@ blockquote {
|
|||||||
|
|
||||||
// limit width of article to optimise reading experience
|
// limit width of article to optimise reading experience
|
||||||
@include media-breakpoint-up(md) {
|
@include media-breakpoint-up(md) {
|
||||||
article {
|
article, .index {
|
||||||
width: 550px;
|
width: 550px;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
|
|||||||
44
index.html
44
index.html
@ -3,26 +3,28 @@ layout: default
|
|||||||
sidebarboxes: author encrypted-communication events
|
sidebarboxes: author encrypted-communication events
|
||||||
---
|
---
|
||||||
|
|
||||||
<h1>2martens.de</h1>
|
<div class="index">
|
||||||
|
<h1>2martens.de</h1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Welcome on my personal website. This home page gives you an overview over all recently posted posts. To see
|
Welcome on my personal website. This home page gives you an overview over all recently posted posts. To see
|
||||||
the full list, visit the respective page (Speeches, Politics, Politics/G20, Computer Science, Blog, About).
|
the full list, visit the respective page (Speeches, Politics, Politics/G20, Computer Science, Blog, About).
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ul class="post-list list-unstyled">
|
<ul class="post-list list-unstyled">
|
||||||
{% for post in site.posts limit:5 %}
|
{% for post in site.posts limit:5 %}
|
||||||
<li class="mb-4">
|
<li class="mb-4">
|
||||||
<div class="small text-muted">
|
<div class="small text-muted">
|
||||||
<span class="far fa-calendar-alt"></span>
|
<span class="far fa-calendar-alt"></span>
|
||||||
<time datetime="{{ post.date | date_to_xmlschema }}">
|
<time datetime="{{ post.date | date_to_xmlschema }}">
|
||||||
{{ post.date | date: "%b %-d, %Y" }}
|
{{ post.date | date: "%b %-d, %Y" }}
|
||||||
</time>
|
</time>
|
||||||
• {% include reading-time.html content=post.content %}
|
• {% include reading-time.html content=post.content %}
|
||||||
</div>
|
</div>
|
||||||
<p class="h4 post-title">
|
<p class="h4 post-title">
|
||||||
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
<a class="post-link" href="{{ post.url | relative_url }}">{{ post.title }}</a>
|
||||||
</p>
|
</p>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
Reference in New Issue
Block a user