Django

Code

Changeset 205

Show
Ignore:
Timestamp:
07/19/05 09:59:00 (3 years ago)
Author:
wilson
Message:

Made comments templates section-agnostic, updated docs template to use flatfile content

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • djangoproject.com/django_website/templates/base.html

    r189 r205  
    1111                <meta http-equiv="imagetoolbar" content="no" /> 
    1212                <meta name="MSSmartTagsPreventParsing" content="true" /> 
    13                 <meta name="Copyright" content="This site's design and contents Copyright (c) 2005  World Online." /> 
    14                 <!-- (c) Copyright 2005 World Online All Rights Reserved. --> 
     13                <meta name="Copyright" content="This site's design and contents Copyright (c) 2005  Lawrence Journal-World." /> 
    1514 
    1615                <meta name="keywords" content="Python, Django, framework, open-source" /> 
     
    1817 
    1918                <link href="http://media.djangoproject.com/css/base.css" rel="stylesheet" type="text/css" media="all" /> 
    20         {% block extrahead %}{% endblock %} 
     19      {% block extrahead %}{% endblock %} 
    2120        </head> 
    2221 
  • djangoproject.com/django_website/templates/comments/free_preview.html

    r189 r205  
    11{% extends "base_weblog" %} 
    22 
    3 {% block title %}Django | Weblog | Preview comment{% endblock %} 
     3{% block title %}Preview comment{% endblock %} 
    44 
    55{% block content %} 
  • djangoproject.com/django_website/templates/comments/posted.html

    r189 r205  
    1 {% extends "base_weblog" %} 
     1{% extends "base" %} 
    22 
    33{% block title %}Comment posted{% endblock %} 
  • djangoproject.com/django_website/templates/flatfiles/docs.html

    r189 r205  
    22 
    33{% block content %} 
    4 <h1>Getting Started</h1> 
     4<h1>{{ flatfile.title }}</h1> 
    55 
    6 <p>Note that we're not officially launched yet, and we're continuing to improve documentation as our foremost goal.</p> 
    7  
    8 <h1>The essentials</h1> 
    9  
    10 <p>Read the following before anything else.</p> 
    11  
    12 <h3><a href="install/">Installation guide</a></h3> 
    13 <p>How to get the code and set things up so that you can use Django.</p> 
    14  
    15 <h3>Tutorial: Writing your first Django app</h3> 
    16 <ul> 
    17 <li><a href="/documentation/tutorial1/">Part 1: Initialization, creating models, the database API</a></li> 
    18 <li><a href="/documentation/tutorial2/">Part 2: Exploring the automatically-generated admin site</a></li> 
    19 </ul> 
    20  
    21 <h3><a href="faq/">FAQ</a></h3> 
    22 <p>Wherein all Q's F A'd are answered.</p> 
    23  
    24 <h1 id="reference">Reference</h1> 
    25  
    26 <h3><a href="model_api/">Model reference</a></h3> 
    27 <p>An explanation of all the options and settings available to data models.</p> 
    28  
    29 <h3><a href="db_api/">Database abstraction layer reference</a></h3> 
    30 <p>How to use data models to access the database.</p> 
    31  
    32 <h3><a href="templates/">Template authoring guide</a></h3> 
    33 <p>An introduction and guide to the template language for designers and HTML authors.</p> 
    34  
    35 <h3><a href="cache/">Cache framework</a></h3> 
    36 <p>So you got slashdotted. Now what?</p> 
    37  
    38 <h3><a href="url_dispatch/">URL dispatch</a></h3> 
    39 <p>Design your URLs to be as purty as your code.</p> 
    40  
    41 <h3><a href="admin_css/">Django admin CSS guide</a></h3> 
    42 <p>Although the underlying format of the admin pages is built in to Django, you 
    43 can customize the look and feel by editing the admin stylesheet and images.</p> 
    44  
     6{{ flatfile.content }} 
    457{% endblock %} 
    468