Go to file
2017-10-30 21:19:07 +01:00
ciclostile.py First commit 2017-10-30 20:58:15 +01:00
README.md Add readme with example 2017-10-30 21:19:07 +01:00
requirements.txt First commit 2017-10-30 20:58:15 +01:00

Ciclostile

TODO

  • select input and output folders and template by parameters or config file.

Example

Input markdown:

Title: Home Page

# Site

Some text

Template:

<!DOCTYPE html>
<html>
  <head>
    <title>{{ title }}</title>
  </head>
  <body>

{{ content }}

  </body>
</html>

Output html:

<!DOCTYPE html>
<html>
  <head>
    <title>Home Page</title>
  </head>
  <body>

<h1>Site</h1>
<p>Some text</p>

  </body>
</html>