addtheme
This commit is contained in:
15
user/themes/lecampus/templates/default.html.twig
Normal file
15
user/themes/lecampus/templates/default.html.twig
Normal file
@@ -0,0 +1,15 @@
|
||||
{% extends 'partials/base.html.twig' %}
|
||||
{% set image = page.media.images|first %}
|
||||
|
||||
{% block content %}
|
||||
{% if image %}
|
||||
{{ image.html }}
|
||||
{% endif %}
|
||||
|
||||
{{ page.content|raw }}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block sidebar %}
|
||||
{% include 'partials/sidebar.html.twig' %}
|
||||
{% endblock %}
|
Reference in New Issue
Block a user