~laumann/laumann.xyz

e17581aead56da1b683cb5159393c3f4aacffc63 — Thomas Bracht Laumann Jespersen 6 months ago 4a0beb8
Adjust the archive page and additional styling

The archive page is not yet accessible (via links) from the index page.
2 files changed, 21 insertions(+), 9 deletions(-)

M blog/archive.html
M css/main.scss
M blog/archive.html => blog/archive.html +12 -9
@@ 1,12 1,15 @@
---
layout: blog
title: Blog archive
layout: default
title: archive
---
<div id="bloglist">
  <h1>Blog archive</h1>
  <ul>
    {% for post in site.posts %}
      <li><span class="date">{{ post.date | date_to_string }}</span> <a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a></li>
      {% endfor %}
  </ul>

{% for post in site.posts %}
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
<div class="subtitle-stuff">
  {{post.date | date: "%F" }}
  {% for tag in post.tags %}
  <span class="tag">{{tag}}</span>
  {% endfor %}

</div>
{% endfor %}

M css/main.scss => css/main.scss +9 -0
@@ 8,6 8,15 @@ html, body {
    vertical-align: baseline;
}

sub, sup {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
    font-family: sans-serif;
}

h1 {
    margin: 0;
}