Re: How to call a separate css file within a flavor

"Edgar Luna" <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
Hi

On 5/18/07, Jennifer Redman <[email protected]> wrote:
> Hello pyblosxom-users!
>
> I'm new to pyblosxom (and python) -- testing out as a way to escape the
> php/mysql world of CMS/blog software.
>
> I'm integrating a blog into my static site and would like to be able to
> update the look and feel for everything at once if I wanted to change.
>
> I'd like to have separate css files within a flavor or better yet in a style
> directory -- all the examples I've seen seem to either include the css in
> the head.x file or drops it into the datadir.
>
> My question:
>
> Where do I put the reference to the location of the .css file for a
> particular flavor?  Does this go in the head file? And if so can someone
> give me a sample line  that calls a separate stylesheet?
>

My blog is down at this moment but In the head.x you only link to the
css file, the possible issue here is that you need to consider that
this file is relative to the site location, no the archives or
pyblosxom directory. In my case I have pyblosxom/ dir (for the actual
python code), blog/ dir (with my entries) and public_html/ dir (with
my home), then I have public_html/blog.css so I use <link
href="~/myuser/blog.css" type="text/css" />

Not sure if this is what you want, regards

-- 
Edgar A. Luna

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.