obraz

Static site generator in a single Python file similar to Jekyll
Download

obraz Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT/X Consortium Lic...
  • Price:
  • FREE
  • Publisher Name:
  • Andrey Vlasovskikh
  • Publisher web site:
  • http://code.google.com/u/andrey.vlasovskikh/

obraz Tags


obraz Description

Obraz is a static site generator in a single Python file, similar to Jekyll.There are many static site generators. Why choose Obraz?- Written in the Python language- Single source file less than 500 lines of code- Mostly compatible with the popular JekyllQuickstartLet's create a statically generated blog!1. Install Obraz from the Python package index: pip install obraz2. Create your own blog in the /path/to/blog directory: . |-- _layouts | |-- default.html | `-- post.html |-- _posts | |-- 2012-05-24-hello-world.md | `-- 2012-05-25-second-blog-post.md `-- index.html3. Generate your site using Obraz: cd /path/to/blog obraz4. The generated files will appear in the _site directory.5. Run the web server: cd _site python -m SimpleHTTPServer 80006. and check the results in the browser by visiting http://localhost:8000/. You got your first Obraz blog up and running! Now it's time to play with the design and customize things.For more details refer to the Jekyll documentation and the list of differences from Jekyll.See also the source code of various sites using Obraz for examples of using RSS feeds, Markdown pages, tags, custom URLs, etc.Obraz (Russian: Обра·). IPA: /ˈobrəs/ n.- Image, the result of applying a function to an argument- A static site generator in a single Python file similar to JekyllSee Wiktionary for other meanings.Product's homepage


obraz Related Software