/sb-2

simple blog 2 https://m8.github.io/sb-2/

Primary LanguageHTML

Sb-2

Different version of sb which is simple python script for creating markdown & html websites. this script allows you to prepare templates and write the website as markdown. it also creates a blog index page. If you write with markdown, these pages are converted to html. If you wrote it in html, it is directly copied. However, it is possible to define variables in markdown pages. these are replaced in the html template.

sb-2 simple page

Folders

If you write directly HTML page, it will not converted and directly copied to _site folder.

src

-blog
--example1.md
--example2.md
-index.html
-contact.md

dest

-blog
--example1.html
--example2.html
-index.html
-contact.html

Commands

  • Create new blog
python3 sb-2 -n "My New Blog"
  • Generate blog page
python3 sb-2 generate

Features

Dependencies

  • mistune for rendering markdown pages