45 | | === CSSの追加 === |
| 45 | === 例 === #examples |
| 46 | * site.html |
| 47 | {{{ |
| 48 | <html xmlns="http://www.w3.org/1999/xhtml" |
| 49 | xmlns:xi="http://www.w3.org/2001/XInclude" |
| 50 | xmlns:py="http://genshi.edgewall.org/" |
| 51 | py:strip=""> |
| 52 | <!--! Add site-specific style sheet --> |
| 53 | <head py:match="head" py:attrs="select('@*')"> |
| 54 | ${select('*|comment()|text()')} |
| 55 | <link rel="stylesheet" type="text/css" |
| 56 | href="${href.chrome('site/style.css')}" /> |
| 57 | </head> |
| 58 | </html> |
| 59 | }}} |
| 60 | * => diff of wiki:WikiStart |
| 61 | {{{ |
| 62 | @@ -3,6 +3,8 @@ |
| 63 | |
| 64 | |
| 65 | |
| 66 | + |
| 67 | + |
| 68 | |
| 69 | <head> |
| 70 | <title> |
| 71 | @@ -30,6 +32,7 @@ |
| 72 | $(".foldable").enableFolding(true, true); |
| 73 | }); |
| 74 | </script> |
| 75 | + <link rel="stylesheet" type="text/css" href="/trac/testenv/chrome/site/style.css" /> |
| 76 | </head> |
| 77 | <body> |
| 78 | <div id="banner"> |
| 79 | }}} |
| 80 | |
| 81 | === CSSの追加 === #addCSS |