Author: batiste.bieler
Date: Wed Mar 25 10:49:37 2009
New Revision: 416
Modified:
wiki/DisplayContentInTemplate.wiki
Log:
Edited wiki page through web user interface.
Modified: wiki/DisplayContentInTemplate.wiki
==============================================================================
--- wiki/DisplayContentInTemplate.wiki (original)
+++ wiki/DisplayContentInTemplate.wiki Wed Mar 25 10:49:37 2009
@@ -7,13 +7,13 @@
Store a content type from a page into a context variable that you can
reuse after.
{{{
- {% get_content page_object "title" as content %}
+{% get_content page_object "title" as content %}
}}}
You can also use the slug of a page
{{{
- {% get_content "my-page-slug" "title" as content %}
+{% get_content "my-page-slug" "title" as content %}
}}}
==show_content==
@@ -21,13 +21,13 @@
Output the content of a page directly within the template.
{{{
- {% show_content page_object "title" %}
+{% show_content page_object "title" %}
}}}
You can also use the slug of a page
{{{
- {% show_content "my-page-slug" "title" %}
+{% show_content "my-page-slug" "title" %}
}}}
==show_absolute_url==
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---