Skip to content

yachen4ever/staticblog

Repository files navigation

#Static Blog Generator Written in PHP

How to Use

Simply Clone the whole project into your server directory. Make sure you have PHP 5.3(or higher) running on your server.

Use scanfolder.php to run the project after putting your Markdown blogs files in 'post' directory. It'll transfer your Markdown blog files into HTML in 'out' directory. You can copy your HTML files to everywhere you want to. It requires no web servers.

Customize

You can change page modules on your own. Try change 'pagemodule.php','indexmodule.php',etc.. They are clearly annotated in Chinese. CSS files are deployed in 'bootstrap/css/style.css'.

About Author

YaCHEN (http://xuchen.wang). A postgraduate CS student.

Updates

Ver 1.2.4 Minor Changes

Ver 1.2.3 Add LICENSE

Ver 1.2.1 Consummated README.md

Ver 1.2 Added Duoshuo. Change Your Duoshuo shortname in 'pagemodule.php' and 'aboutandlinksmodule.php' before deploying your websites. Pre and Next page's title now can be seen at the bottom of one blog page.

Ver 1.1 Added Highlight.js