Physics and Astronomy
Home School documents Web pages Navigation and tabs More options

 The sidebar Common options One-file directories More options Prefer tabs?

More sidebar options

Bylines

A byline is a term for the name of the author of the author(s) of an article.

The following sidebar.txt entry will add a byline to every page in the directory and recursively in its sub-directories, immediately below the first <H1>:

byline: <a href='/staff/AS/'>Dr A. Scientist</a>

See for example the natural photonics pages where the names of the principle researchers are added immediately below each title.

Group logo

If you have a group logo like the Electromagnetic Materials group it can be added to the bottom of every sidebar. Ask me for details.

The following snippet:
class: myclass

will open a new div of that class. You can close it with an empty class:, if you leave it open the system will close it for you when the sidebar ends.

Currently the only useful class defined is "bottombox" which is designed for putting a news or "advertising" box at the bottom of the sidebar:

class: bottombox
/recruitment/ Freelance assassins required, full training provided
class:


'Virtual' sub-directories

The key words startsubmenu and endsubmenu indictate a section that is formatted like a submenu:

startsubmenu:
c-intro.html Introduction to C
example-0.html A short example