Fork of underblog
An extremely simple, fast static blog generator.
You only need 4 things:
index.html
template for blog's index page.post.html
template for single post.css/styles.css
for CSS styles.markdown
folder.
There is no front-matter. Slug is derived from the filename and date is the last modification date of the file. Title is derived from the first line of markdown file. Make sure the first line starts with #
.
Step 1: create the following folder structure:
.
├── css
│ └── styles.css
├── markdown
│ └── Slug_1.md
│ └── Slug_2.md
│ └── Slug_3.md
├── index.html
├── post.html
(See /example)
Step 2: run underblog
.
Step 3: Your site is generated in public
. Posts are ordered by last modification date.
Run underblog in watch mode:
underblog -watch
Then go to http://localhost:8080/. Changing markdown files will automatically re-generate the site.
- NO front matter
- NO themes
- NO JavaScript
- NO tags, categories, taxonomy
- NO template lookup logic
- NO plugins
- NO dependencies
In the root repository do:
make build