You can have more control on the generated page, by setting a few more options in your Pelican config file: PLANET_MAX_ARTICLES: The maximum number of articles to show on the page. pelican content -s pelicanconf.py Go into your output folder Optional configuration. WARNING: LOCALE option doesn't contain a correct value see Ubuntu Local From the blog directory, run the pelican command to compile the content folder to generate all the html files in your output folder. For example to specify the ouput we use -o: pelican -s pelicanconf.py -o /tmp/blog Issues. Easy to interface with distributed version control systems and web hooks pelican -s pelicanconf.py This will take all the settings and apply, but if we want to override some settings we could do. Includes a simple CLI tool to (re)generate your site. Highlights include: Write your content directly with your editor of choice in reStructuredText or Markdown formats. Pelican is a static site generator, written in Python. Similar to other tutorials, use virtualenv to install pelican into an isolated environment on the system: $ mkvirtualenv pbpython-site $ pip install pelican $ pip install Pillow beautifulsoup4 cssmin cssprefixer cssutils pretty six smartypants typogrify webassets Pelican 4.7.1 ΒΆ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |