diff options
-rw-r--r-- | templates/base.html | 2 | ||||
-rw-r--r-- | templates/index.html | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/templates/base.html b/templates/base.html index 0852f7de..bf24c840 100644 --- a/templates/base.html +++ b/templates/base.html @@ -4,7 +4,7 @@ {% load i18n %} <html xmlns="http://www.w3.org/1999/xhtml"> <head> - <title>{% block title %}{% endblock %} - {% trans "site title" %} - {% trans "site slogan" %}</title> + <title>{% block title %}{% endblock %} - {{ APP_TITLE }}</title> {% spaceless %} {% block meta %}{% endblock %} {% endspaceless %} diff --git a/templates/index.html b/templates/index.html index 2ef66d4e..db2bb12e 100644 --- a/templates/index.html +++ b/templates/index.html @@ -4,8 +4,8 @@ {% load humanize %} {% load extra_filters %} {% block title %}{% spaceless %}{% trans "Home" %}{% endspaceless %}{% endblock %} -{% block meta %}<meta name="keywords" content="{% trans "meta site keywords, comma separated" %}" /> - <meta name="description" content="{% trans "meta site content" %}" />{% endblock %} +{% block meta %}<meta name="keywords" content="{{ APP_KEYWORDS }}" /> + <meta name="description" content="{{ APP_DESCRIPTION }}" />{% endblock %} {% block forejs %} <script type="text/javascript"> $().ready(function(){ @@ -78,8 +78,7 @@ <div class="boxA"> <h3>{% trans "welcome to website" %}</h3> <div class="body"> - <p>{% trans "what is this website" %}</p> - <p>{% trans "what can one do on this website" %}</p> + {{ APP_INTRO|safe }} <div class="more"><a href="/about">{% trans "about" %} »</a></div> <div class="more"><a href="/faq">{% trans "faq" %} »</a></div> </div> |