CSS and templates for sidebar changed to use a class, not an id.

Multiple sidebars should be possible; also, I want to add a sidebar
template.
master
Joey Hess 2010-04-15 15:04:17 -04:00
parent 691dab0306
commit baaa848f6c
6 changed files with 5 additions and 12 deletions

3
debian/changelog vendored
View File

@ -1,4 +1,4 @@
ikiwiki (3.20100410) UNRELEASED; urgency=low ikiwiki (3.20100415) UNRELEASED; urgency=low
[ Joey Hess ] [ Joey Hess ]
* bzr: Fix bzr log parsing to work with bzr 2.0. (liw) * bzr: Fix bzr log parsing to work with bzr 2.0. (liw)
@ -36,6 +36,7 @@ ikiwiki (3.20100410) UNRELEASED; urgency=low
* pagestats: Use style=list to get a list of tags, scaled by use like * pagestats: Use style=list to get a list of tags, scaled by use like
in a tag cloud. This is useful to put in a sidebar. in a tag cloud. This is useful to put in a sidebar.
* Rework example blog front page. * Rework example blog front page.
* CSS and templates for sidebar changed to use a class, not an id.
-- Joey Hess <joeyh@debian.org> Sun, 04 Apr 2010 12:17:11 -0400 -- Joey Hess <joeyh@debian.org> Sun, 04 Apr 2010 12:17:11 -0400

View File

@ -14,7 +14,7 @@ Some additional configuration you might want to do:
\[[!tag tags/life]] \[[!tag tags/life]]
* Enable the [[sidebar|plugins/sidebar]] plugin to get a sidebar listing all * Enable the [[sidebar|plugins/sidebar]] plugin to get a sidebar listing all
the categories you've tagged posts with. the categories you've tagged posts with, and other navigation links.
* Enable the [[pagestats|plugins/pagestats]] plugin to get a tag cloud * Enable the [[pagestats|plugins/pagestats]] plugin to get a tag cloud
to display on the [[index]]. to display on the [[index]].

View File

@ -4,7 +4,6 @@
* [[Recent_Comments|comments]] * [[Recent_Comments|comments]]
* [[Archives]] * [[Archives]]
[[!if test="enabled(calendar)" then="""
[[!calendar pages="./posts/* and !*/Discussion"]] [[!calendar pages="./posts/* and !*/Discussion"]]
"""]] """]]

View File

@ -1,7 +0,0 @@
Example sidebar
* [[Blog|index]]
* [[Archive|posts]]
Categories:
[[!map pages="./tags/* and !*/Discussion"]]

View File

@ -228,7 +228,7 @@ div.recentchanges {
.bigPC { font-size: 115%; } .bigPC { font-size: 115%; }
.biggestPC { font-size: 130%; } .biggestPC { font-size: 130%; }
#sidebar { .sidebar {
line-height: 3ex; line-height: 3ex;
width: 20ex; width: 20ex;
float: right; float: right;

View File

@ -92,7 +92,7 @@
</div> <!-- .pageheader --> </div> <!-- .pageheader -->
<TMPL_IF SIDEBAR> <TMPL_IF SIDEBAR>
<div id="sidebar"> <div class="sidebar">
<TMPL_VAR SIDEBAR> <TMPL_VAR SIDEBAR>
</div> </div>
</TMPL_IF> </TMPL_IF>