Edgewall Software

Changes between Version 112 and Version 113 of GenshiTutorial


Ignore:
Timestamp:
May 30, 2008, 9:30:11 PM (16 years ago)
Author:
ken.stricklett@…
Comment:

minor editorial corrections

Legend:

Unmodified
Added
Removed
Modified
  • GenshiTutorial

    v112 v113  
    751751 }}}
    752752
    753  This is a more complex example for selecting matched content: it fetches the text contained in the `<title>` element of the original `<head>` and prefixes it with the string “geddit: ”. But as page templates may not even contain a `<title>` element, we first check whether it exists, and only add the colon if it does. Thus, if the page has no title of its own, the result will be “geddit”.
     753 This is a more complex example for selecting matched content: it fetches the text contained in the `<title>` element of the original `<head>` and prefixes it with the string “Geddit: ”. But as page templates may not even contain a `<title>` element, we first check whether it exists, and only add the colon if it does. Thus, if the page has no title of its own, the result will be “Geddit”.
    754754
    755755 {{{