tree: e4fa2b34c5c33b2f14a49e2593dba7f9a052b97a [path history] [tgz]
  1. base.html
  2. page.html
  3. README.md
  4. styles.css
theme/apache/templates/README.md

Apache Theme

The Apache Theme included here consists two types of files.

  1. Page templates.
  2. CSS stylesheets.

Page Templates

  1. base.html - the main template. Other templates extend this template.
  2. page.html - need to override pelican's default page.html which automatically includes <h1>{{ page.title }}</h1>

Change the base page as necessary and add new page types as required.

CSS Stylesheets

These are site or template specific overrides to the stylesheet frameworks. You can choose to include these in your template, or you can move the file into your assets.

  1. styles.css - consists of custom site CSS overrides. Edit as needed. Here we inlcude the css for our style of permalink.

Each of the above files should be edited as needed for the deployed website.

Pelican Variables set in pelicanconf.py

SITEURL = 'https://www.apache.org'
SITEREPOSITORY = 'https://github.com/apache/www-site/blob/main/content/'
CURRENTYEAR = date.today().year

Pelican Themes

This is a [custom theme][1]. Pelican templates use [Jinja][2]

[1] https://docs.getpelican.com/en/latest/themes.html [2] https://jinja.palletsprojects.com/en/3.0.x/