Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-wiki
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-wiki
Commits
051ca6eb
Commit
051ca6eb
authored
Jan 09, 2014
by
Luke Plant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected docs for easy branding method
parent
d1ea57b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
docs/customization.rst
+5
-4
No files found.
docs/customization.rst
View file @
051ca6eb
...
...
@@ -9,9 +9,9 @@ Templates
django-wiki can be customized by providing your own templates.
All templates used by django-wiki inherit from ``wiki/base
_site
.html``, which in
turn simply inherits from ``wiki/base.html`` (adding
nothing). ``wiki/base.html`` provides a complete HTML page, but provides a
All templates used by django-wiki inherit from ``wiki/base.html``, which in
turn simply inherits from ``wiki/base
_site
.html`` (adding
nothing). ``wiki/base
_site
.html`` provides a complete HTML page, but provides a
number of blocks that you might want to override. The most useful are:
* ``wiki_header_branding``
...
...
@@ -20,7 +20,8 @@ number of blocks that you might want to override. The most useful are:
These can be overridden to provide your own branding and links in the top bar of
the page. The ``wiki/base_site.html`` template uses Bootstrap 3, so the
following example shows how to use this in practice, assuming you want a single
link to your home page, and one to the wiki:
link to your home page, and one to the wiki. Add the following as
``wiki/base.html`` somewhere in your ``TEMPLATE_DIRS``:
.. code-block:: html+django
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment