A simple CMS for nerds.
Go to file
Markus Koch 01a6042468 Add blog param utime to mark the entry as updated
Add utime => strtotime(<date>) to the $blogentry header to enable
the feature for the post. It will still be sorted by ctime, but the post
will show the utime with an updated note in the date field instead.
2017-08-06 09:40:52 +02:00
b Initial commit 2017-01-27 20:29:27 +01:00
img Added an RSS news feed for blog posts 2017-05-27 11:45:08 +02:00
p Added missing files 2017-01-27 20:35:47 +01:00
.gitignore Added missing files 2017-01-27 20:35:47 +01:00
README.MD Added license info 2017-05-27 11:51:36 +02:00
_index.html Initial commit 2017-01-27 20:29:27 +01:00
blog.php Add blog param utime to mark the entry as updated 2017-08-06 09:40:52 +02:00
control.php Initial commit 2017-01-27 20:29:27 +01:00
index.php Added an RSS news feed for blog posts 2017-05-27 11:45:08 +02:00
page.php Initial commit 2017-01-27 20:29:27 +01:00
rss.php Added an RSS news feed for blog posts 2017-05-27 11:45:08 +02:00
shared.php Corrected base URL algorithm 2017-05-28 17:58:44 +02:00
style.css Initial commit 2017-01-27 20:29:27 +01:00
userstyle.css Initial commit 2017-01-27 20:29:27 +01:00

README.MD

[Simpub CMS] - A Simple CMS for Nerds

Directories and Files

  • index.php: Main page, assembles layout and loads sub pages

  • shared.php: Shared functions and global settings

  • blog.php: Blog core (include from page in /p/ to use)

  • page.php: Page core (include from page in /p/ to use)

  • control.php: Admin interface

  • style.css: Main style file

  • userstyle.css: User-defined styles used on content pages

  • /p/: User content (use 404.php as error handler)

  • /b/: User blog posts. Create subdirectory with year, then drop .php blog posts into there

  • /b/img: Again, create subfolder with year, drop images in there

  • /b/pimg: Must be writable by www-data, will contain auto-generated thumbnails

  • /s/: Resources for pages

License

This code is released under the Mozilla Public License Version 2.0.