Skip to content

Commit 27dc623

Browse files
committed
get app_name in templates
1 parent f9dae6d commit 27dc623

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

{{cookiecutter.app_slug}}/project/client/templates/_base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<head>
55
<meta charset="utf-8">
6-
<title>Flask Skeleton{% block title %}{% endblock %}</title>
6+
<title>{{ config.APP_NAME }}{% block title %}{% endblock %}</title>
77
<!-- meta -->
88
<meta name="description" content="">
99
<meta name="author" content="">

{{cookiecutter.app_slug}}/project/client/templates/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<span class="icon-bar"></span>
1111
<span class="icon-bar"></span>
1212
</button>
13-
<a class="navbar-brand" href="{{ url_for('main.home') }}">Flask-Skeleton</a>
13+
<a class="navbar-brand" href="{{ url_for('main.home') }}">{{ config.APP_NAME }}</a>
1414
</div>
1515
<!-- Collect the nav links, forms, and other content for toggling -->
1616
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">

0 commit comments

Comments
 (0)