89 | 90 | {# link is in html.html.twig #} 91 | 94 | 95 | {% if has_showcase %} 96 | {% if is_front %} 97 | {% include '@twbase/layout/partials/_showcase_front.html.twig' %} 98 | {% elseif showcase %} 99 | {% include '@twbase/layout/partials/_showcase.html.twig' %} 100 | {% endif %} 101 | {% endif %} 102 | 103 | {# Set the container_size here, it is needed in breadcrumb and content_top #} 104 | {% if content_size == 'full' %} 105 | {% set container_size = 'tw-w-full' %} 106 | {% else %} 107 | {% set container_size = 'tw-container tw-mx-auto ' %} 108 | {% if content_size == 'sm' %} 109 | {% set container_size = container_size ~ 'tw-max-w-screen-sm' %} 110 | {% elseif content_size == 'md' %} 111 | {% set container_size = container_size ~ 'tw-max-w-screen-md' %} 112 | {% elseif content_size == 'lg' %} 113 | {% set container_size = container_size ~ 'tw-max-w-screen-lg' %} 114 | {% elseif content_size == 'xl' %} 115 | {% set container_size = container_size ~ 'tw-max-w-screen-xl' %} 116 | {% endif %} 117 | {% endif %} 118 | 119 | {% if breadcrumb_display and page.breadcrumb %} 120 | {% include '@twbase/layout/partials/_breadcrumb.html.twig' %} 121 | {% endif %} 122 | 123 | {# See twbase_preprocess_page() #} 124 | {% if has_content_top and page.content_top %} 125 | {% include '@twbase/layout/partials/_content_top.html.twig' %} 126 | {% endif %} 127 | 128 | {# 129 | {% if page.content %} 130 | {% include '@twbase/layout/partials/_content.html.twig' %} 131 | {% endif %} 132 | #} 133 | 134 |
135 |
136 |
137 | {{ page.content }} 138 | {# {% include '@twbase/layout/partials/_content.html.twig' %} #} 139 |
140 | 141 | {% if page.sidebar %} 142 | 145 | {% endif %} 146 | 147 |
148 |
149 | 150 |