directly included style and javascript skins (via skin macro).
IMO this is cleaner than going through res.head, because: 1) we don't have to set res.head to style and javascript skins in each .hac file 2) people editing skins actually knows what's going on - <% response.head %> made it hard to guess what was actually being inserted. Robert, if you agree that this is better we can drop the res.head assignments from all the hac files.
This commit is contained in:
parent
d9650de246
commit
588bccc24c
1 changed files with 3 additions and 2 deletions
|
@ -3,7 +3,8 @@
|
||||||
<head>
|
<head>
|
||||||
<title><% response.title %></title>
|
<title><% response.title %></title>
|
||||||
<meta name="MSSmartTagsPreventParsing" content="TRUE">
|
<meta name="MSSmartTagsPreventParsing" content="TRUE">
|
||||||
<% response.head %>
|
<% weblog.skin name="style" %>
|
||||||
|
<% weblog.skin name="javascript" %>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -44,4 +45,4 @@
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue