Skip to content
Snippets Groups Projects
Commit 4ec2f480 authored by julientaq's avatar julientaq
Browse files

updates layout for articles lis

parent fb83a1a5
No related branches found
No related tags found
1 merge request!11New aricles
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
{{content | safe}} {{content | safe}}
{% set sections = {"Articles": "article", "Case Studies & White Papers": "cs-wp", "Thought pieces": "thoughts"} %} {% set sections = {"Articles": "article", "Case Studies & White Papers": "cs-wp", "Thought pieces": "thoughts"} %}
{% for key, value in sections %} {% for key, value in sections %}
<div>
<h2>{{key}}</h2> <h2>{{key}}</h2>
{% for item in collections.articles | reverse -%} {% for item in collections.articles | reverse -%}
{% if item.data.category === value %} {% if item.data.category === value %}
...@@ -25,7 +24,6 @@ ...@@ -25,7 +24,6 @@
</div> </div>
{% endif %} {% endif %}
{%- endfor %} {%- endfor %}
</div>
{% endfor %} {% endfor %}
{% endblock %} {% endblock %}
......
...@@ -660,3 +660,8 @@ footer section.infos a:hover { ...@@ -660,3 +660,8 @@ footer section.infos a:hover {
padding: 1em 0; padding: 1em 0;
} }
} }
.articles main h2 {
grid-column: 1/5;
margin-top: 3em;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment