diff --git a/src/layouts/articles-index.njk b/src/layouts/articles-index.njk index 048de6398291014a2a8285581902e50cddcc2743..82b77a938c9cd8132428c9f311503aa90413b431 100644 --- a/src/layouts/articles-index.njk +++ b/src/layouts/articles-index.njk @@ -3,7 +3,6 @@ {{content | safe}} {% set sections = {"Articles": "article", "Case Studies & White Papers": "cs-wp", "Thought pieces": "thoughts"} %} {% for key, value in sections %} - <div> <h2>{{key}}</h2> {% for item in collections.articles | reverse -%} {% if item.data.category === value %} @@ -25,7 +24,6 @@ </div> {% endif %} {%- endfor %} - </div> {% endfor %} {% endblock %} diff --git a/static/css/theme-coko/main.css b/static/css/theme-coko/main.css index f0e630171c04caaa5ef0a9cb1eef24eda36d2a1d..2edc22aa6b303e739c43d2e0fe20e5806d849453 100644 --- a/static/css/theme-coko/main.css +++ b/static/css/theme-coko/main.css @@ -660,3 +660,8 @@ footer section.infos a:hover { padding: 1em 0; } } + +.articles main h2 { + grid-column: 1/5; + margin-top: 3em; +}