Add posts, categories, category, tags, tag, and collection layouts

Replace sample pages with hard coded HTML and Liquid in favor of a layout that does all the heavy lifting. Assign the appropriate `layout` via YAML Front Matter and away you go.
This commit is contained in:
Michael Rose
2018-03-20 12:45:28 -04:00
parent 2463b55c4c
commit d6605146ac
13 changed files with 246 additions and 3 deletions

View File

@ -295,6 +295,72 @@
}
}
.taxonomy-section {
margin-bottom: 2em;
padding-bottom: 1em;
&:not(:last-child) {
border-bottom: solid 1px $border-color;
}
.archive__item-title {
margin-top: 0;
}
.archive__subtitle {
border: 0;
}
+ .taxonomy-section {
margin-top: 2em;
}
}
.taxonomy-title {
margin-bottom: 0.5em;
color: lighten($text-color, 60%);
}
.taxonomy-count {
color: lighten($text-color, 50%);
}
.taxonomy-index {
display: grid;
grid-column-gap: 2em;
grid-template-columns: repeat(2, 1fr);
margin: 0;
padding: 0;
font-size: 0.75em;
list-style: none;
@include breakpoint($large) {
grid-template-columns: repeat(3, 1fr);
}
a {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
padding: 0.25em 0;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
color: inherit;
text-decoration: none;
border-bottom: 1px solid $border-color;
}
}
.back-to-top {
display: block;
color: lighten($text-color, 50%);
font-size: 0.6em;
text-transform: uppercase;
text-align: right;
text-decoration: none;
}
/*
Comments
========================================================================== */