responsive
This commit is contained in:
@@ -24,7 +24,13 @@
|
||||
{% set image = page.media.images|first %}
|
||||
<div class="event">
|
||||
|
||||
<div class="card-header">
|
||||
{% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %}
|
||||
{% import _self as macro %}
|
||||
|
||||
{% for tag in page.taxonomy.tag %}
|
||||
<div class="card-header {{ macro.pageLinkName(tag) }}">
|
||||
{% endfor %}
|
||||
|
||||
{% include 'partials/blog/public.html.twig' %}
|
||||
</div>
|
||||
|
||||
@@ -63,9 +69,7 @@
|
||||
</div>
|
||||
|
||||
<div class="txt">
|
||||
{% if page.summary != page.content %}
|
||||
{{ page.summary(100)|raw }}
|
||||
{% endif %}
|
||||
|
||||
{{page.content}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user