diff options
author | Adam T. Carpenter <atc@53hor.net> | 2020-07-18 15:53:12 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2020-07-18 15:53:12 -0400 |
commit | 4373e1f7baada56627d0946534afadae5ebda403 (patch) | |
tree | fc7296494d89db829c2ae3b5648c6a1958512ccb /_layouts/blog.liquid | |
parent | 4f6598644b11ed03594bc3ebd6e797b15a27ac1c (diff) | |
download | carpentertutoring-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.liquid | 12 |
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> |