Skip to content
Snippets Groups Projects
Unverified Commit ac92efb5 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch '31-tag-blog-posts-with-projects-target-groups-and-maybe-tags' of...

Merge branch '31-tag-blog-posts-with-projects-target-groups-and-maybe-tags' of https://edugit.org/Teckids/team-pr/teckids.org into 31-tag-blog-posts-with-projects-target-groups-and-maybe-tags
parents 9254962d 3dde6ffb
No related branches found
No related tags found
1 merge request!74Resolve "Tag blog posts with projects, target groups, and maybe tags"
Pipeline #193020 passed
......@@ -37,6 +37,7 @@
</div>
</div>
</div>
{% block related_posts %}{% endblock %}
</div>
</div>
{% endblock %}
......@@ -17,5 +17,14 @@
{% endblock content %}
</div>
</section>
{% include "pages/related_posts.html" %}
{% block related_posts %}
{% set blog_section = get_section(path="blog/_index.md") %}
<section class="section" resource="{{ blog_section.permalink }}" typeof="schema:Blog">
<meta property="schema:publisher" href="https://teckids.org/" />
<div class="container">
<h2 class="title is-2">{{ title | default(value="Aus dem Teckids-Blog") }}</h2>
{% include "pages/related_posts.html" %}
</div>
</section>
{% endblock %}
{% endblock %}
{% set blog_section = get_section(path="blog/_index.md") %}
<section class="section" resource="{{ blog_section.permalink }}" typeof="schema:Blog">
<meta property="schema:publisher" href="https://teckids.org/" />
<div class="container">
<h2 class="title is-2">{{ title | default(value="Aus dem Teckids-Blog") }}</h2>
<div class="columns is-multiline is-same-height mt-4">
{% for post in blog_section.pages %}
{% if "aspekt" in post.taxonomies and page.title in post.taxonomies["aspekt"] %}
<div class="column is-one-third">
{% include "blog/card.html" %}
</div>
{% else %}{% continue %}{% endif %}
{% endfor %}
</div>
</div>
</section>
<div class="columns is-multiline is-same-height mt-4">
{% for post in blog_section.pages %}
{% if "aspekt" in post.taxonomies and page.title in post.taxonomies["aspekt"] %}
<div class="column is-one-third">
{% include "blog/card.html" %}
</div>
{% else %}{% continue %}{% endif %}
{% endfor %}
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment