TZ=Indian/Antananarivo
Ahanements d'octets austrauxBillet classé dans la catégorie : web > blosxomsk > en
vendredi 10 juin 2005
Three plugins for blosxom users...
This is to (re-)publish as standalones three plugins included in my blosxom starter kit :
- prevnextstory : populates the prevnexstory namespace with links for pointing to preceding and following stories (arranged chronologically).
- pagetype : the variable
$pagetype::pagetype
is to be used with interpolate_fancy.
You can test it in your templates to know what kind of page Blosxom is currently rendering :
- main : the root of the blog
- category : a category archive page
- chrono : a chronological archive page (per year, per month, per day...)
- story : an individual story page.
- fix_static_url : corrects the
$blosxom::url
variable for static rendering.
When you use blosxom for rendering static pages, the$url
variable refers to your local machine, which is rarely acurate, especially if you intend to upload the static files to a different server... You have to explicitly assign the$url
variable in the source of blosxom, or you can use this plugin as an alternative.
You can assign the$static_url
variable in the config section, or use the prefs plugin (the alternative to the config plugin for static rendering) to define$fix_static_url::static_url
.
Commentaires du blog hébergés par Disqus