Skip to content
Snippets Groups Projects
Verified Commit c69cb7ba authored by Isabella Skořepová's avatar Isabella Skořepová
Browse files

Fix auto-generation of perex for articles without

parent c86d174b
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
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