Permalink
Browse files

added APP_TITLE, APP_KEYWORDS and APP_DESCRIPTION

  • Loading branch information...
evgenyfadeev committed Jul 28, 2009
1 parent 464c14f commit f38036ae08927e3a7726b45623ba81146003b8a1
Showing with 4 additions and 5 deletions.
  1. +1 −1 templates/base.html
  2. +3 −4 templates/index.html
View
@@ -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 %}
View
@@ -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 @@ <h2>
<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>

0 comments on commit f38036a

Please sign in to comment.