Skip to content

hollisticated-horse/tinyblog

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyBlog

Single File HTML/CSS/PHP blog in less than 100 lines.
See it in action: http://petabyt.dev/blog/

Features

  • Tiny source code. Just pull index.php and customize.
  • Minimal markdown parser. Easy to customize to your liking.

Setup

In the posts folder, create a file named "1" for the first
post, "2" for the second, and so on.

Theme

A second drop-in replacement white theme is available (index-theme-simple.php),
made by @xiamuguizhi.

Markdown Syntax

TinyBlog has a built-in Markdown parser. It supports most of the typical
Markdown syntax, but has some additional features:

  • Type --- to insert a "Read More" link, and cut off the rest of the text.
  • Use \* to prevent the asterisk from being recognized.

About

PHP Markdown blog in 100 lines.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 90.8%
  • Python 8.2%
  • Shell 1.0%