Home Page Hero
This page controls what is shown in the hero area of the home page, with each set of content on a separate Wiki page. Pages should be listed below with their start and end date (leaving either blank means from the start of or until the end of time!).
When editing this table, you don't need to align the dividers, but it
can help make the code more readable. Any line beginning with
treated as an entry.
Start date: the date on which the entry becomes current in YYY-MM-DD format, or blank space to mean from any date; any unrecognised text makes the entry ignored.
End date: the date after which the entry is no longer current in YYY-MM-DD format, or blank space to mean forever; any unrecognised text makes the entry ignored.
Page: a bare Wiki link to the page with the HTML content of the
]] will be stripped off, but no other
processing is done, so link text can't be used.
Which page is shown to the visitor?
If there is more than one hero in effect at the same time, one will be chosen randomly for each page view in the following order:
- Current heroes with start date and end date
- Current heroes with end date only
- Current heroes with start date only
- Current heroes with no start or end date
What content is shown to the visitor?
Any content in
</html> sections will become part of the
hero area of the home page. Full HTML syntax is available, and no Wiki
text processing is done, so links should be in
<a> tags, for
- background-image: A CSS image source like
url('https://mysite/path/to/image.jpg'). The image is resized to make sure it covers the hero area, and centred; make sure that the parts you want to be the focus of attention are on the horizontal mid-point of the image. The position of text in an image is difficult to predict, so use the HTML for that – the best images are simple backgrounds or photographs, that you can put text on top of (using a semi-transparent background if there's lots of variability in the image contrast).