Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

38 rader
1.2 KiB

2 år sedan
  1. # Apache Theme
  2. The Apache Theme included here consists two types of files.
  3. 1. Page templates.
  4. There should be one template for each page type.
  5. 2. CSS stylesheets.
  6. There are css overrides for the site and/or template.
  7. ## Page Templates
  8. 1. base.html - there is only one page type.
  9. Change the base page as necessary and add new page types as required.
  10. ## CSS Stylesheets
  11. These are site or template specific overrides to the stylesheet frameworks.
  12. You can choose to include these in your template, or you can move the file into your assets.
  13. 1. styles.css - consists of custom site CSS overrides. Edit as needed.
  14. See [Web Developer](../../../DEVELOPER.md) for framework and other information.
  15. Each of the above files should be edited as needed for the deployed website.
  16. ## Pelican Variables set in [pelicanconf.py](../../../pelicanconf.py)
  17. ~~~python
  18. SITENAME = u'Apache <pmc>'
  19. SITEDOMAIN = '<pmc>.apache.org'
  20. SITEURL = 'https://<pmc>.apache.org'
  21. SITELOGO = 'https://<pmc>.apache.org/images/logo.png'
  22. SITEDESC = u'<pmc desc>'
  23. SITEREPOSITORY = 'https://github.com/apache/<pmc-site>/blob/<branch>/content/'
  24. TRADEMARKS = u'Apache, the Apache feather logo, and <pmc> are trademarks or registered trademarks'
  25. CURRENTYEAR = date.today().year
  26. ~~~