X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/c492d5a74a124881271104ba4a0957a887723e76..ee92df2cd0e3d6d93a13d6e74391ee495f9471c9:/docs/tutorials/getting-started.rst?ds=inline diff --git a/docs/tutorials/getting-started.rst b/docs/tutorials/getting-started.rst index eeb9ce8..d5d4c71 100644 --- a/docs/tutorials/getting-started.rst +++ b/docs/tutorials/getting-started.rst @@ -70,18 +70,20 @@ Editing page contents Great! We've got a page that says "Hello World". But what if we want it to say something else? Should we really have to edit the :class:`.Template` to change the content of the :class:`.Page`? And what if we want to share the :class:`.Template` but have different content? Adjust the :class:`.Template` to look like this:: -
-{{ content }}
- {% endif %} -The time is {% now %}.
- + +{{ content }}
+ {% endif %} +The time is {% now %}.
+ Now go edit your :class:`.Page`. Two new fields called "Page title" and "Page body" have shown up! You can put anything you like in here and have it show up in the appropriate places when the page is rendered. .. seealso:: :ttag:`philo.templatetags.containers.container` + +Congrats! You've done it!