1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-08 06:55:26 +02:00

fix(page): add missed raw tool template

This commit is contained in:
Peter Savchenko 2020-10-15 20:11:41 +03:00
parent 94a9a963ff
commit 0bf4367cb3
No known key found for this signature in database
GPG key ID: E68306B1AB0F727C
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
{{ html }}

View file

@ -32,7 +32,7 @@
{% for block in page.body.blocks %}
{# Skip first header, because it is already showed as a Title #}
{% if not (loop.first and block.type == 'header') %}
{% if block.type in ['paragraph', 'header', 'image', 'code', 'list', 'delimiter', 'table', 'warning', 'checklist', 'linkTool'] %}
{% if block.type in ['paragraph', 'header', 'image', 'code', 'list', 'delimiter', 'table', 'warning', 'checklist', 'linkTool', 'raw'] %}
{% include './blocks/' ~ block.type ~ '.twig' with block.data %}
{% endif %}
{% endif %}