diff options
| author | Blaise Laflamme <blaise@laflamme.org> | 2011-01-12 23:25:04 -0500 |
|---|---|---|
| committer | Blaise Laflamme <blaise@laflamme.org> | 2011-01-12 23:25:04 -0500 |
| commit | dd4a6e7635c497c20c4a361aad95a955bf2c9b3e (patch) | |
| tree | 98b7c4f4b95d5a34002b23f6924b7cd8765b5a4d /docs | |
| parent | 1c174d94aa4007222ecc8c74a0bb2c6a73f3dcb8 (diff) | |
| download | pyramid-dd4a6e7635c497c20c4a361aad95a955bf2c9b3e.tar.gz pyramid-dd4a6e7635c497c20c4a361aad95a955bf2c9b3e.tar.bz2 pyramid-dd4a6e7635c497c20c4a361aad95a955bf2c9b3e.zip | |
Changed google font link and use request.static_url in myproject
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/narr/MyProject/myproject/templates/mytemplate.pt | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/docs/narr/MyProject/myproject/templates/mytemplate.pt b/docs/narr/MyProject/myproject/templates/mytemplate.pt index ec22ef396..165ef9c0b 100644 --- a/docs/narr/MyProject/myproject/templates/mytemplate.pt +++ b/docs/narr/MyProject/myproject/templates/mytemplate.pt @@ -5,19 +5,18 @@ <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> <meta name="keywords" content="python web application" /> <meta name="description" content="pyramid web application" /> - <link rel="shortcut icon" href="${request.application_url}/static/favicon.ico" /> - <link rel="stylesheet" href="${request.application_url}/static/pylons.css" type="text/css" media="screen" charset="utf-8" /> - <link href="http://fonts.googleapis.com/css?family=Neuton&subset=latin" rel="stylesheet" type="text/css" media="screen" charset="utf-8" /> - <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Nobile:regular,italic,bold,bolditalic&subset=latin" type="text/css" media="screen" charset="utf-8" /> + <link rel="shortcut icon" href="${request.static_url('myproject:static/favicon.ico')}" /> + <link rel="stylesheet" href="${request.static_url('myproject:static/pylons.css')}" type="text/css" media="screen" charset="utf-8" /> + <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Neuton|Nobile:regular,i,b,bi&subset=latin" type="text/css" media="screen" charset="utf-8" /> <!--[if lte IE 6]> - <link rel="stylesheet" href="${request.application_url}/static/ie6.css" type="text/css" media="screen" charset="utf-8" /> + <link rel="stylesheet" href="${request.static_url('myproject:static/ie6.css')}" type="text/css" media="screen" charset="utf-8" /> <![endif]--> </head> <body> <div id="wrap"> <div id="top"> <div class="top align-center"> - <div><img src="${request.application_url}/static/pyramid.png" width="750" height="169" alt="pyramid"/></div> + <div><img src="${request.static_url('myproject:static/pyramid.png')}" width="750" height="169" alt="pyramid"/></div> </div> </div> <div id="middle"> |
