Django for Designers: Difference between revisions

→‎Change templates to handle bookmark data: Add clarity about where people make the change
imported>Paulproteus
imported>Paulproteus
(→‎Change templates to handle bookmark data: Add clarity about where people make the change)
Line 1,425:
Now, let's modify our templates to use this data.
 
In index.html, update just ''block content'' per the following. Make sure to keep the ''extends'' directive and the ''block subheader'' directive.
In index.html:
 
<source lang="html4strict">
Line 1,454:
If the bookmark has a title, we'll make the title the link. Otherwise we'll show the URL. We also fill in the URL on the <a> tag, to make the link work.
 
We also want to fill in the other metadata, like tags and author info. To do that. (FIXME: Where do people make this change?)
 
<source lang="html4strict">
Anonymous user