This is an automated email from the ASF dual-hosted git repository. humbedooh pushed a commit to branch preview/blog-migration2 in repository https://gitbox.apache.org/repos/asf/openoffice-project.git
commit d25ccdd6e14e1e8e7adfeaec5243201650f43034 Author: Daniel Gruno <humbed...@apache.org> AuthorDate: Thu Jun 1 01:08:03 2023 +0200 fix object refs for base template --- theme/openoffice/templates/base.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/theme/openoffice/templates/base.html b/theme/openoffice/templates/base.html index e416c66..0f7cfa8 100644 --- a/theme/openoffice/templates/base.html +++ b/theme/openoffice/templates/base.html @@ -20,7 +20,8 @@ <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> {% block head %} -<title>{{ page.title }}</title> +{% if page %}<title>{{ page.title }}</title>{% endif %} +{% if article %}<title>{{ article.title }}</title>{% endif %} {% endblock %} <!-- Below Meta Tags Generated via https://www.opengraph.xyz --> <!-- If you don't care about social media then remove this section --> @@ -112,7 +113,7 @@ integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script> <!-- End the loading of javascript frameworks --> - - <!-- Source: {{ page.relative_source_path }}; Template: {{ page.default_template }}; Url: {{ page.url }} --> + {% if page %}<!-- Source: {{ page.relative_source_path }}; Template: {{ page.default_template }}; Url: {{ page.url }} -->{% endif %} + {% if article %}<!-- Source: {{ article.relative_source_path }}; Template: {{ article.default_template }}; Url: {{ article.url }} -->{% endif %} </body> </html>