Metadata-Version: 2.1
Name: page
Version: 0.1.4
Summary: Static website generator
Home-page: https://github.com/fmalina/page
Author: F. Malina
Author-email: fmalina@pm.me
License: BSD License
Project-URL: Funding, https://unilexicon.com/fm/pay.html
Keywords: CMS,static
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: BSD License
Classifier: Topic :: Documentation
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Content Management System
Description-Content-Type: text/markdown
License-File: LICENSE

Page, a static website generator
================================

- creates a well organized website with clear navigation
  reflecting the folder structure of source text documents
- fast, well compressed, mobile friendly pages
- feed and sitemap files for your subscribers and search engines

Writers love distraction free conventional plain text
[formatting](https://commonmark.org/help/).
Template designers love the easy to read, beautiful and powerful
[template language](https://palletsprojects.com/p/jinja/).

Installation and run
--------------------
Page is a small command line program written in Python programming language.
It requires [python installed](https://www.python.org/downloads/), which lets user
install Page on any platform in a single command.

    pip3 install page

By default, Page will collect all text files in current folder
and create a HTML website in a static folder using default templates.

    page

User can run Page with custom options like so:

    page --source /markdown/source/folder/\
         --target /target/folder/\
         --tpl /custom/template/folder/\
         --ctx "{'site_name': 'My Site', 'site_url': 'https://example.org'}"\
         --ext .htm

Users are encouraged to create their own
[`./page.py`](https://github.com/fmalina/page/blob/main/page.py)
with custom options to use instead of provided `page` command line program.

Batteries included
------------------
Minimal default template.

Page has lots of tests including one importing an existing HTML site,
converting it to source markdown files and then back into a static HTML site
in full circle. This code can inspire users to convert existing static site
or one powered by a slow Content Management System to simple
markdown powered static site and maintain it with Page.

Programmers using Djagno Web Framework can make their sites faster and less demanding
using **static cache generation** helpers provided,
see [static.py](https://github.com/fmalina/page/blob/main/page/static.py).


---

Designed in Slovakia by [Francis Malina](https://unilexicon.com/fm/).


