Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Made comments templates section-agnostic, updated docs template to us…

…e flatfile content

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit a7e231a9ddd73d2a1fb7b1a4356197d3406d4a46 1 parent e1d5ba5
authored July 19, 2005
5  django_website/templates/base.html
@@ -10,14 +10,13 @@
10 10
 		<meta name="ROBOTS" content="ALL" />
11 11
 		<meta http-equiv="imagetoolbar" content="no" />
12 12
 		<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." />
15 14
 
16 15
 		<meta name="keywords" content="Python, Django, framework, open-source" />
17 16
 		<meta name="description" content="Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design." />
18 17
 
19 18
 		<link href="http://media.djangoproject.com/css/base.css" rel="stylesheet" type="text/css" media="all" />
20  
-        {% block extrahead %}{% endblock %}
  19
+      {% block extrahead %}{% endblock %}
21 20
 	</head>
22 21
 
23 22
 	<body id="{% block sectionid %}generic{% endblock %}">
7  django_website/templates/base_overview.html
... ...
@@ -1,7 +0,0 @@
1  
-{% extends "base" %}
2  
-
3  
-{% block sectionid %}overview{% endblock %}
4  
-
5  
-{% block title %}Overview{% endblock %}
6  
-
7  
-{% block billboard %}<h2><a href="/overview/">Overview</a></h2>{% endblock %}
2  django_website/templates/comments/free_preview.html
... ...
@@ -1,6 +1,6 @@
1 1
 {% extends "base_weblog" %}
2 2
 
3  
-{% block title %}Django | Weblog | Preview comment{% endblock %}
  3
+{% block title %}Preview comment{% endblock %}
4 4
 
5 5
 {% block content %}
6 6
 
2  django_website/templates/comments/posted.html
... ...
@@ -1,4 +1,4 @@
1  
-{% extends "base_weblog" %}
  1
+{% extends "base" %}
2 2
 
3 3
 {% block title %}Comment posted{% endblock %}
4 4
 
42  django_website/templates/flatfiles/docs.html
... ...
@@ -1,47 +1,9 @@
1 1
 {% extends "base_docs" %}
2 2
 
3 3
 {% block content %}
4  
-<h1>Getting Started</h1>
5  
-
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>
  4
+<h1>{{ flatfile.title }}</h1>
44 5
 
  6
+{{ flatfile.content }}
45 7
 {% endblock %}
46 8
 
47 9
 {% block content-related %}

0 notes on commit a7e231a

Please sign in to comment.
Something went wrong with that request. Please try again.