diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-07-27 20:44:51 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-07-27 20:44:51 -0400 |
commit | 6568706a83a94faa18a715ec5e50a6282dc85c1a (patch) | |
tree | d1ab617f04caa5f2fc0a61336281c13716a898d2 | |
parent | faf167aed99ac4e28927f729b7c7bc94a47ef139 (diff) | |
download | askbot-6568706a83a94faa18a715ec5e50a6282dc85c1a.tar.gz askbot-6568706a83a94faa18a715ec5e50a6282dc85c1a.tar.bz2 askbot-6568706a83a94faa18a715ec5e50a6282dc85c1a.zip |
added APP_TITLE, APP_KEYWORDS and APP_DESCRIPTION
-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> |