Skip to content
Permalink
Browse files

made blog

  • Loading branch information
justusthane committed Feb 11, 2020
1 parent 7c365bc commit e3a307f5c5976b22ed4dd1e2932df896f8dbdaf6
@@ -3,4 +3,5 @@ menu: 'blog'
tagline: '/thoughts'
title: 'Thoughts & site updates'
---
Lower your expectations, this feed will mostly be used for trivial observations. I'll also use it as a log of updates elsewhere on the site. For more useful content, maybe take a look at the [sewing/craft](/craft) or [tech](/tech) sections.
This blog serves mostly as a sort of "meta log" to list updates I've made elsewhere on the site, with some interspersed thoughts. If you're curious about what I've added since your last visit, this is the place to check.
For more useful content, maybe take a look at the [sewing/craft](/craft) or [tech](/tech) sections.
@@ -1,6 +1,6 @@
body {
font-family: ;
color: #5C5C5C;
color: #404040;
/*background-color: #fefefe;*/
}

@@ -42,13 +42,43 @@ body.home nav {
#content {
max-width: 800px;
margin: 0 auto;
font-size: 1.5rem;
font-size: 1.3rem;
}



#content img {
width: 100%;
}

.blogPost {
padding-bottom: 2rem;
}

.blogPost .date {
padding-right: 1rem;
padding-bottom: 1rem;
font-size: 1rem;
font-style: italic;
}

.blogPost .date a {
text-decoration: none;
}

.blogPost .content {
border-left: 1px solid #404040;
padding-left: 1rem;
}

.blogPost .content p {
margin: 0;
}

.blogPost .content p + p,.blogPost .content h2 + p {
margin: 1em 0 1em 0;
}

#back {
font-size: 2.5rem;
}
@@ -99,6 +129,25 @@ a:hover {
grid-column: 2;
margin-left: 0;
visibility: hidden;
}
.blogPost {
display: grid;
grid-template-columns: auto 1fr;
grid-template-rows: auto auto;
}

.blogPost .title {
grid-column-start: 2;
grid-row-start: 1;
}

.blogPost .date {
grid-column-start: 1;
grid-row-start: 2;
}

.blogPost .content {
grid-column-start: 2;
grid-row-start: 2;
}
}
@@ -8,9 +8,14 @@
{{ content }}
<ul>
{% for child in collection %}
<li>
<a href="{{child.url}}">{{child.menu}}</a>
</li>
<section class="blogPost">
<div class="title">{% if child.header.title %}<h2>{{ child.title }}</h2>{% endif %}</div>
<div class="date"><a href="{{child.url}}">{{ child.header.date|date("Y-m-d") }}</a></div>
<div class="content">
{{ child.template }}
{{ child.content }}
</div>
</section>
{% endfor %}
</ul>

0 comments on commit e3a307f

Please sign in to comment.
You can’t perform that action at this time.