From 93d2d40cea7ed04f949b21d8a715f0816ffaa64f Mon Sep 17 00:00:00 2001 From: Matthew Gotth-Olsen Date: Wed, 24 Jan 2018 09:45:24 -0500 Subject: [PATCH] Added description & layout addition Added a description for #hacktheville, and added a conditional to render markdown content in category_index layouts. This will allow content to be inserted prior to the post loop on each category index page. --- _layouts/category_index.html | 4 ++++ hackathons.html | 1 + hacktheville.html | 2 ++ 3 files changed, 7 insertions(+) diff --git a/_layouts/category_index.html b/_layouts/category_index.html index 3e1ee61..bac2376 100644 --- a/_layouts/category_index.html +++ b/_layouts/category_index.html @@ -6,6 +6,10 @@ {% assign category_name = page.category_name %} {% endif %} +{% unless page.content == '' %} +

{{ page.content | markdownify }}

+{% endunless %} +
{% for post in site.categories[category_name] %} {% include post_block.html %} diff --git a/hackathons.html b/hackathons.html index 8ccf251..97190b7 100644 --- a/hackathons.html +++ b/hackathons.html @@ -1,6 +1,7 @@ --- layout: category_index title: Hackathons +tagline: "Join the Civic Data Alliance & Louisville Metro Government's Office of Performance Improvement & Innovation for our monthly #HackTheVille night at the LouieLab!" permalink: /hackathons/ category_name: hackathons --- diff --git a/hacktheville.html b/hacktheville.html index f7729b8..cf4a54d 100644 --- a/hacktheville.html +++ b/hacktheville.html @@ -5,6 +5,8 @@ category_name: hacktheville --- +### Please join the Civic Data Alliance, Louisville Metro Government's [Office of Performance Improvement & Innovation](https://louisvilleky.gov/government/performance-improvement-innovation) for our monthly #HackTheVille night at [Louie Lab](https://louisvilleky.gov/government/louielab). +