Jeroen De Meerleer
4cb2b07862
The commit refactors the logic for generating the page title in base.html.twig. The change ensures that if a custom title block is defined, it will be displayed before the default author name "Jeroen De Meerleer".
23 lines
552 B
Twig
23 lines
552 B
Twig
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title>{% block title %}{% endblock %}{% if block("title") is not empty %} :: {% endif %}Jeroen De Meerleer</title>
|
|
|
|
{% block styles %}{% endblock %}
|
|
|
|
{% block scripts %}{% endblock %}
|
|
|
|
</head>
|
|
|
|
<body>
|
|
{% block content %}{% endblock %}
|
|
{% block extrahtml %}{% endblock %}
|
|
<footer class="footer">
|
|
{% block footer %}{% endblock %}
|
|
</footer>
|
|
</body>
|
|
</html>
|
|
|