X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/ac8a325857c260750e651281ef379d108db9ff17..d1dfe30baf0d5ad52107d26de23e11c7c10d0847:/docs/tutorials/getting-started.rst 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!