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:
Hannes Wallnöfer 2001-12-02 15:10:48 +00:00
parent d9650de246
commit 588bccc24c

View file

@ -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>