Browse Source

merge

master
rra 4 years ago
parent
commit
f8b1f3afaf
  1. 12
      README.md

12
README.md

@ -11,7 +11,19 @@ it currently is tailored to https://solar.lowtechmagazine.com and needs work in
* properly handle subsites plugin (currently it only works for dither+subsites)* make sure it works with --relative-urls flag
## Use:
To enable the plugin add it to the `PLUGINS` list in `pelicanconf.py`.
Add a div with id `page-size` to your template and `page_metadata` will place the result there.
have fun!
## in case we add generation time:
To use this plugin first import `strftime` at the top of `pelicanconf.py`:
`from time import strftime`
Then add `NOW = strftime('%c')` somewhere in that document as well. This saves the time of generation as a variable that is usable by the `page_metadata` plugin.

Loading…
Cancel
Save