Author: agilliland
Date: Tue May 22 09:24:32 2007
New Revision: 540636
URL: http://svn.apache.org/viewvc?view=rev&rev=540636
Log:
make basic theme support a custom stylesheet.
Modified:
roller/trunk/web/themes/basic/Weblog.vm
roller/trunk/web/themes/basic/theme.xml
Modified: roller/trunk/web/themes/basic/Weblog.vm
URL:
http://svn.apache.org/viewvc/roller/trunk/web/themes/basic/Weblog.vm?view=diff&rev=540636&r1=540635&r2=540636
==============================================================================
--- roller/trunk/web/themes/basic/Weblog.vm (original)
+++ roller/trunk/web/themes/basic/Weblog.vm Tue May 22 09:24:32 2007
@@ -5,6 +5,8 @@
<title>$model.weblog.name : $model.weblogPage.name</title>
#showAutodiscoveryLinks($model.weblog)
<style type="text/css">#includeTemplate($model.weblog "_css")</style>
+
+ <link rel="stylesheet" type="text/css" media="all"
href="$model.weblog.customStylesheet">
</head>
<body>
Modified: roller/trunk/web/themes/basic/theme.xml
URL:
http://svn.apache.org/viewvc/roller/trunk/web/themes/basic/theme.xml?view=diff&rev=540636&r1=540635&r2=540636
==============================================================================
--- roller/trunk/web/themes/basic/theme.xml (original)
+++ roller/trunk/web/themes/basic/theme.xml Tue May 22 09:24:32 2007
@@ -8,6 +8,9 @@
<!-- theme preview image -->
<preview-image path="sm-theme-basic.jpg" />
+ <!-- custom stylesheet -->
+ <custom-stylesheet path="basic-custom.css" />
+
<!-- templates -->
<template action="weblog">
<name>Weblog</name>