summaryrefslogtreecommitdiff
path: root/_layouts/blog.liquid
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2020-07-18 15:53:12 -0400
committerAdam T. Carpenter <atc@53hor.net>2020-07-18 15:53:12 -0400
commit4373e1f7baada56627d0946534afadae5ebda403 (patch)
treefc7296494d89db829c2ae3b5648c6a1958512ccb /_layouts/blog.liquid
parent4f6598644b11ed03594bc3ebd6e797b15a27ac1c (diff)
downloadcarpentertutoring-4373e1f7baada56627d0946534afadae5ebda403.tar.xz
carpentertutoring-4373e1f7baada56627d0946534afadae5ebda403.zip
updated blog page; how posts are rendered, made meta pull from
frontmatter
Diffstat (limited to '_layouts/blog.liquid')
-rw-r--r--_layouts/blog.liquid12
1 files changed, 8 insertions, 4 deletions
diff --git a/_layouts/blog.liquid b/_layouts/blog.liquid
index 3f94bd8..0734bb3 100644
--- a/_layouts/blog.liquid
+++ b/_layouts/blog.liquid
@@ -2,7 +2,7 @@
<html lang="en">
<head>
<title>{{ page.title }}</title>
- <link rel="stylesheet" href="/styles/main.css" />
+ <link rel="stylesheet" href="/styles/blog.css" />
{% include "meta.liquid" %}
</head>
<body class="has-navbar-fixed-top is-size-4-desktop">
@@ -13,11 +13,12 @@
<div class="columns">
<div class="column">
<div class="columns is-multiline is-centered">
- {% for post in collections.posts.pages %}
+ {% for post in collections.posts.pages %} {% if post.categories[0]
+ != "announcement" %}
<div class="column">
- {{ post.title }}
+ {% include "post-card.liquid" %}
</div>
- {% endfor %}
+ {% endif %} {% endfor %}
</div>
</div>
<div class="column is-narrow">
@@ -26,6 +27,9 @@
</div>
</div>
</section>
+
+ {% include "footer.liquid" %}
+
<script src="/scripts/iconify.min.js" type="text/javascript"></script>
</body>
</html>