Files
tcms/config/site.json
T
Ty Clifford 94aea8501f - Fixed the subdirectory loading issue.
Changed:
[app/View.php](/Users/tyemeclifford/Documents/GH/blog/app/View.php): 
generated URLs now honor a base path like /blog.
[app/Config.php](/Users/tyemeclifford/Documents/GH/blog/app/Config.php): 
added base_path support and derives it from base_url or SCRIPT_NAME.
[app/App.php](/Users/tyemeclifford/Documents/GH/blog/app/App.php): route 
parsing strips the base path, and PHP can safely serve theme/upload 
assets for virtual subdirectory previews.
[.htaccess](/Users/tyemeclifford/Documents/GH/blog/.htaccess): removed 
hardcoded RewriteBase /.
[themes/neon/layout.php](/Users/tyemeclifford/Documents/GH/blog/themes/neon/layout.php): 
root-relative social links like /feed.xml now become /blog/feed.xml.
[README.md](/Users/tyemeclifford/Documents/GH/blog/README.md): 
documented subdirectory setup.
2026-07-04 19:54:54 -04:00

39 lines
992 B
JSON

{
"site": {
"title": "Neon Notes",
"tagline": "File-first publishing with a bright pulse",
"description": "A dark-neon Markdown blog CMS built with PHP, SQLite, JSON, and Bludit-style content folders.",
"author": "Editor",
"language": "en"
},
"base_url": "",
"base_path": "",
"timezone": "America/New_York",
"theme": "neon",
"posts_per_page": 4,
"comments": {
"enabled": true,
"moderate": true,
"captcha": true,
"honeypot_field": "website_url"
},
"stats": {
"enabled": true,
"hash_salt": "replace-this-with-a-private-random-string"
},
"social": {
"github": {
"label": "GitHub",
"url": "https://github.com/"
},
"mastodon": {
"label": "Mastodon",
"url": "https://mastodon.social/"
},
"rss": {
"label": "RSS",
"url": "/feed.xml"
}
}
}