Commit c69cb7ba authored by Isabella Skořepová's avatar Isabella Skořepová

Fix auto-generation of perex for articles without

parent c86d174b
......@@ -21,7 +21,7 @@
{% if page.metadata.perex_e %}
{{page.metadata.perex_e | truncate}}
{% else %}
{{ page.origContent | striptags | truncate }}
{{ page.content | striptags | truncate }}
{% endif %}
{% endif %}
</div>
......
Markdown is supported
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