fix: remove blog header and add top margin
This commit is contained in:
parent
a8db81311b
commit
4b50b71600
|
@ -5,36 +5,32 @@
|
|||
{%- include header.html -%}
|
||||
<div class="container">
|
||||
<main class="blog">
|
||||
<div id="blog-header">
|
||||
<span class="blog-header-title">the <img width="30px" src="assets/base/distrust-white.svg"/> Distrust blog</span>
|
||||
<div class="blog-header-subtitle">Provable security, explained.</div>
|
||||
</div>
|
||||
<div class="entry">
|
||||
<div class="posts">
|
||||
{% 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 class="entry">
|
||||
<div class="posts">
|
||||
{% 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>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
{% for author in page.authors %}
|
||||
— {{ author.name }}{% unless forloop.last %}, {% endunless %}
|
||||
<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 %}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
{% for author in page.authors %}
|
||||
— {{ author.name }}{% unless forloop.last %}, {% endunless %}
|
||||
{% endfor %}
|
||||
</p>
|
||||
</main>
|
||||
{%- include footer.html -%}
|
||||
</div>
|
||||
|
|
|
@ -1504,6 +1504,7 @@ pre {
|
|||
.blog {
|
||||
margin: auto;
|
||||
max-width: 700px;
|
||||
margin-top: 80px;
|
||||
}
|
||||
|
||||
.post {
|
||||
|
|
Loading…
Reference in New Issue