Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.

Commit 964d3fa

Browse files
authored
Merge pull request crowi#101 from crowi/fix-undefined-title
Fix header navigation title
2 parents fbffb4f + b484746 commit 964d3fa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/views/layout/layout.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<div class="navbar-header">
5050
<a class="navbar-brand" href="/">
5151
<img alt="Crowi" src="/logo/32x32.png" width="16">
52-
{% block title %}{{ config.crowi['app:title'] }}{% endblock %}
52+
{% block title %}{{ config.crowi['app:title']|default('Crowi') }}{% endblock %}
5353
</a>
5454
{% if searchConfigured() %}
5555
<div class="navbar-form navbar-left search-top visible-lg visible-md" role="search" id="search-top">
@@ -147,4 +147,3 @@
147147
<script src="/js/app{% if env == 'production' %}.min{% endif %}.js"></script>
148148
<script src="/js/crowi{% if env == 'production' %}.min{% endif %}.js"></script>
149149
</html>
150-

0 commit comments

Comments
 (0)