Software >
Table of Contents [hide]
early-mid 2012 - (version not recorded) ∞
Markup language:
- https://docutils.sourceforge.io/docs/user/rst/quickstart.html
- https://docutils.sourceforge.io/docs/user/rst/quickref.html
- https://docutils.sourceforge.io/docs/user/rst/cheatsheet.txt
- http://www.hosting4u.cz/jbar/rest/rest.html
- https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html
-
https://docutils.sourceforge.io/docs/ref/rst/directives.html
Theming:
Notes:
- How do I prevent categories from displaying where they do?
- I want a right-hand sidebar
- Figure out templating
- Blog entries have no title?
-
Blog entries cannot belong in more than one category?
sudo easy_install pelican # sudo easy_install Markdown sudo easy_install feedgenerator # Atom feeds sudo easy_install jinja2 # templating support sudo easy_install docutils # reStructuredText sudo easy_install pygments # syntax highlighting pelican-quickstart
edit pelicanconf.py
and set
SITEURL = 'http://EXAMPLE.com' DISPLAY_PAGES_ON_MENU = 'true'
make html make regenerate
At this point I could do a make serve
and then point my browser to http://0.0.0.0:8000/
but that's rather pointless as I could just as easily point my browser to output/index.html
Templating ∞
It's a miserable failure of an example template. Fuck.
Getting the example:
mkdir -p content/static/css mkdir -p content/static/images mkdir -p content/themes cd content/themes \wget --continue raw.github.com/getpelican/pelican/master/pelican/themes/simple/templates/archives.html \wget --continue raw.github.com/getpelican/pelican/master/pelican/themes/simple/templates/article.html \wget --continue raw.github.com/getpelican/pelican/master/pelican/themes/simple/templates/author.html \wget --continue raw.github.com/getpelican/pelican/master/pelican/themes/simple/templates/base.html \wget --continue raw.github.com/getpelican/pelican/master/pelican/themes/simple/templates/categories.html \wget --continue raw.github.com/getpelican/pelican/master/pelican/themes/simple/templates/category.html \wget --continue raw.github.com/getpelican/pelican/master/pelican/themes/simple/templates/gosquared.html \wget --continue raw.github.com/getpelican/pelican/master/pelican/themes/simple/templates/index.html \wget --continue raw.github.com/getpelican/pelican/master/pelican/themes/simple/templates/page.html \wget --continue raw.github.com/getpelican/pelican/master/pelican/themes/simple/templates/pagination.html \wget --continue raw.github.com/getpelican/pelican/master/pelican/themes/simple/templates/tag.html \wget --continue raw.github.com/getpelican/pelican/master/pelican/themes/simple/templates/tags.html cd ../../ # Assign the template location and auto-regenerate. pelican -r -t content
Last updated 2020-05-04 at 14:15:21
- pulled out of [[static compiled website engines]] into its own page
- date estimated