Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
<link rel="stylesheet" href="$url.page($model.weblog.customStylesheet)" type="text/css" />

All of the actual interface for editing the custom stylesheet would simply be the existing templates editing UI and the custom stylesheet would be treated and stored just like any other weblog templateWhen a user decides to create a custom stylesheet override for their weblog all they are really doing is creating a custom page, so the editing process is the same as editing any other template. The custom stylesheet operates just like all other custom pages and would be accessible via <weblog>/page/<custom-stylesheet> and it is this url which is being inserted into the weblog templates as detailed above. When a user decides to customize the styling of their theme we would simply automate the process of creating the custom stylesheet template and then allow theme them to edit it however they wish. Links to guide the user in doing the stylesheet customization will be provided on the theme selection page.

...