Skip to content

Commit 4c1802e

Browse files
committed
Update README: templates inherit from base.html, fixes tobami#165
1 parent 8ae7a93 commit 4c1802e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ values needed for your customizations:
115115

116116
### Site-wide Changes
117117

118-
All pages inherit from the `site_base.html` template, which
119-
extends `base.html`. To change every page on the site simply edit (`sample_project/templates/site_base.html`) which extends `base.html` and override
118+
All pages inherit from the `base.html` template. To change every page on the site simply edit (`sample_project/templates/base.html`) and override
120119
the appropriate block:
121120

122121
* Custom title: you may replace the default "My Speed Center" for the title
@@ -152,7 +151,7 @@ same name.
152151

153152
* About page: create `sample_project/override/templates/about.html`:
154153

155-
{% extends "site_base.html" %}
154+
{% extends "base.html" %}
156155
{% block title %}{{ block.super }}: About this project{% endblock %}
157156
{% block body %}
158157
<div id="sidebar"></div>

0 commit comments

Comments
 (0)