Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#847] Update {{ super() }} example in docs
- Loading branch information
Sean Hammond
committed
Nov 26, 2013
1 parent
6e97fbc
commit c5cfc08
Showing
4 changed files
with
15 additions
and
15 deletions.
There are no files selected for viewing
Empty file.
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
ckanext/example_theme/v06_super/templates/home/layout1.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{% ckan_extends %} | ||
|
||
{% block featured_group %} | ||
|
||
<p>This paragraph will be added to the top of the | ||
<code>featured_group</code> block.</p> | ||
|
||
{# Insert the contents of the original featured_group block: #} | ||
{{ super() }} | ||
|
||
<p>This paragraph will be added to the bottom of the | ||
<code>featured_group</code> block.</p> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters