A simple CMS for nerds.
Markus Koch
e8827ce7d4
Before, the older entries button showed if the amount of posts was equal to the pagesize, even though there were no more entries to be shown after clicking the button. |
||
---|---|---|
b | ||
img | ||
p | ||
_index.html | ||
.gitignore | ||
blog.php | ||
control.php | ||
index.php | ||
page.php | ||
README.MD | ||
rss.php | ||
shared.php | ||
style.css | ||
userstyle.css |
[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.