fix: remove blog header and add top margin
This commit is contained in:
parent
a8db81311b
commit
4b50b71600
|
@ -5,36 +5,32 @@
|
||||||
{%- include header.html -%}
|
{%- include header.html -%}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<main class="blog">
|
<main class="blog">
|
||||||
<div id="blog-header">
|
<div class="entry">
|
||||||
<span class="blog-header-title">the <img width="30px" src="assets/base/distrust-white.svg"/> Distrust blog</span>
|
<div class="posts">
|
||||||
<div class="blog-header-subtitle">Provable security, explained.</div>
|
{% for post in site.posts %}
|
||||||
</div>
|
<div class="blog-details">
|
||||||
<div class="entry">
|
<div class="blog-details-date">{{ post.date | date: "%b %e, %Y" }}</div>
|
||||||
<div class="posts">
|
<div class="blog-details-read-time">{{ post.content | number_of_words | divided_by: 200 }} min read</div>
|
||||||
{% for post in site.posts %}
|
|
||||||
<div class="blog-details">
|
|
||||||
<div class="blog-details-date">{{ post.date | date: "%b %e, %Y" }}</div>
|
|
||||||
<div class="blog-details-read-time">{{ post.content | number_of_words | divided_by: 200 }} min read</div>
|
|
||||||
</div>
|
|
||||||
<a class="blog-link" href="{{ post.url | relative_url }}" title="{{ post.title }}">
|
|
||||||
<article>
|
|
||||||
<h1>{{ post.title }}</h1>
|
|
||||||
<p>{{ post.excerpt | strip_html | truncatewords: 35 }}</p>
|
|
||||||
</article>
|
|
||||||
<div class="arrow-link">
|
|
||||||
Read
|
|
||||||
<span class="arrow">→</span>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<a class="blog-link" href="{{ post.url | relative_url }}" title="{{ post.title }}">
|
||||||
|
<article>
|
||||||
<p>
|
<h1>{{ post.title }}</h1>
|
||||||
{% for author in page.authors %}
|
<p>{{ post.excerpt | strip_html | truncatewords: 35 }}</p>
|
||||||
— {{ author.name }}{% unless forloop.last %}, {% endunless %}
|
</article>
|
||||||
|
<div class="arrow-link">
|
||||||
|
Read
|
||||||
|
<span class="arrow">→</span>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</p>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
{% for author in page.authors %}
|
||||||
|
— {{ author.name }}{% unless forloop.last %}, {% endunless %}
|
||||||
|
{% endfor %}
|
||||||
|
</p>
|
||||||
</main>
|
</main>
|
||||||
{%- include footer.html -%}
|
{%- include footer.html -%}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1504,6 +1504,7 @@ pre {
|
||||||
.blog {
|
.blog {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
max-width: 700px;
|
max-width: 700px;
|
||||||
|
margin-top: 80px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post {
|
.post {
|
||||||
|
|
Loading…
Reference in New Issue