Create your blog without databases
This is website (blog) template that serves static page encoded in Markdown. At the heart it uses ShowdownJS, Vanilla.js and XMLHttpRequest API (XHR).
.
├── assets
├── css
├── fonts
├── js
├── sm
├── pages
│ ├── your-custom-page
│ │ └── content.md (put your page content here)
│ ├── about
| │ └── content.md (about page content)
| ├── contact
| │ └── content.md (contact page content)
| └── index.md (page index)
└── posts
├── YYYY-MM-DD-post-title-you-want-to-create
│ ├── content.md (put your post content here)
│ ├── thumbnail.jpg (post thumbnail)
│ ├── picture.jpg (post image)
│ └── document.doc (downloadable document)
└── index.md (post index)
- Clone this git.
- Go to
posts
and make new directory with format (lowercase).
YYYY-MM-DD-post-title-you-want-to-create
- Go to directory you just made and create
content.md
. - Fill
content.md
with your content using Markdown format. - Create
thumbnail.jpg
file with4:3
aspect ratio. - Then open
/posts/index.md
and add directory nameYYYY-MM-DD-post-title-you-want-to-create
to posts index. - Git add, commit, and push.
- If CI/CD is set, the blog will automatically get updated.
Make sure only using
1234567890abcdefghijklmnopqrstuvwxyz
and-
as index separator
- Write in any platform as long as git and text editor is available.
- No need to install additional tools like Hugo & Jekyll.
- No need to regenerate static page after content update.
- Markdown Directives and standard HTML tag is supported for more customization.
- There are an edge case where spacing and layout may require additional step such as using Markdown Directives and standard HTML.