diff options
author | Adam T. Carpenter <atc@53hor.net> | 2020-07-18 16:36:38 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2020-07-18 16:36:38 -0400 |
commit | 517993e10b56bdba3bac50e873ba9942d22fc00b (patch) | |
tree | 0b4483ba883b71edd5652128959b3569ff02f8e4 /_layouts | |
parent | 827244286aa7b0c5d9d52e0568f35aaa151bb811 (diff) | |
download | carpentertutoring-517993e10b56bdba3bac50e873ba9942d22fc00b.tar.xz carpentertutoring-517993e10b56bdba3bac50e873ba9942d22fc00b.zip |
basic announcement system working; still needs date filtering
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/index.liquid | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/_layouts/index.liquid b/_layouts/index.liquid index 81d243c..c9dbdb6 100644 --- a/_layouts/index.liquid +++ b/_layouts/index.liquid @@ -34,6 +34,11 @@ </div> </section> + <!-- announcements --> + {% for post in collections.posts.pages %} {% if post.categories[0] == + "announcement" %} {% include "announcement.liquid" %} {% endif %} {% endfor + %} + <!-- intro blurb, portrait --> <section class="section quiet"> <div class="container"> |