Belle Aerni
930766b1a3
Create LICENCE.md
2023-01-08 17:41:17 -08:00
Belle Aerni
d31da240c4
Added robots.txt
...
And allow it through the .htaccess
2023-01-08 17:28:08 -08:00
Belle Aerni
6d3f8a3da1
Admin plugin : added create page option
...
Also introduced AntTools::repairFilePath
2023-01-08 16:53:58 -08:00
Belle Aerni
d6588573b0
Fallback to the default theme
...
if the configured one doesn't exist, fallback to "Default"
2023-01-08 15:47:23 -08:00
Belle Aerni
7739b2875d
+ real time markdown preview
...
Also created admin plugin templates for the Bootstrap theme
2023-01-08 15:38:25 -08:00
Belle Aerni
6fe8dd90cd
Link to the website instead of repo
2023-01-08 11:50:59 -08:00
Belle Aerni
6b0a424a52
Updated repo links
2023-01-08 09:51:21 -08:00
Belle Aerni
2de92731cf
Updated readme
2023-01-08 09:28:24 -08:00
Belle Aerni
90a31b2941
Created a cron file to cleanup cache
...
+ use a few directory separators for better portability in the code
2023-01-08 09:14:40 -08:00
Belle Aerni
457cce525b
Basic plugin support + admin plugin ( #5 )
...
* Started writing plugin support
* Started work on the Admin plugin
* Added page list regeneration option
* Started work on the config editor
* Rebased
* Admin plugin can now edit the config
* Ability to edit pages + verify config before saving
* Make PHPStan happy :)
* Implemented authentication
2023-01-08 08:54:54 -08:00
Yağızhan
0c79ec0ba6
Prose styling
2023-01-08 08:48:49 +03:00
Belle Aerni
dbf2600afb
Update .htaccess
2023-01-07 21:23:15 -08:00
Belle Aerni
8d68293798
Hide code backticks. Related to #3
2023-01-07 18:04:55 -08:00
Belle Aerni
f5844cb2cc
Rewrote to server content through index.php
2023-01-07 17:44:16 -08:00
Belle Aerni
ca005bd074
This .htaccess seems to work better for me
2023-01-07 16:48:45 -08:00
Belle Aerni
47d86d8b6d
Improvements to the readme
...
Also made the index.md file a copy of the readme, so it will be the first thing people see when they access it
2023-01-07 14:58:42 -08:00
Belle Aerni
f86b8a988b
Use AntTools::getFileList while getting page list
2023-01-07 14:29:12 -08:00
Belle Aerni
1d65fca192
Fix a small typo
2023-01-07 14:09:01 -08:00
Belle Aerni
d1fd6521f9
Make tailwind the default and generate the CSS
...
Closes #1 + makes the smaller and faster theme the default
2023-01-07 14:06:47 -08:00
Belle Aerni
3ee0161c11
Small tweak to the preview generator
2023-01-07 13:42:55 -08:00
Belle Aerni
e96967f604
Two quick fixes
2023-01-07 13:37:49 -08:00
Belle Aerni
b953821dd2
Add template fallbacks. Closes #2
...
Also improved slightly the keyword generator, and added npm to dependabot scanning
2023-01-07 13:35:14 -08:00
Belle Aerni
a36755bb80
Improved caching
2023-01-07 12:15:29 -08:00
Belle Aerni
ee92c2f058
False -> no
2023-01-07 11:11:10 -08:00
Belle Aerni
906c88273f
Don't include dev packages in the preview build
2023-01-07 11:08:27 -08:00
Yağızhan
7af26306f6
Update readme.md
2023-01-07 20:34:19 +03:00
Yağızhan
4d745a6c9d
Update readme.md
2023-01-07 20:33:32 +03:00
Yağızhan
ce656562e9
Check the description
...
- Separated the part that generates the page layout into a new function.
- What we did above allowed us to use the page layout for pages that aren't meant to be loaded from local Markdown files, such as the error pages
- This allowed us to create a better error page. The new error page uses the theme's default layout, resulting in better error pages.
2023-01-07 17:41:17 +03:00
Yağızhan
5562f9b676
Allow defining what theme to get the content of
2023-01-07 17:25:12 +03:00
Yağızhan
c89c82fb64
This comment no longer applies
2023-01-07 16:59:01 +03:00
Yağızhan
a198f3995e
Tweaking Tailwind configuration
2023-01-07 16:55:36 +03:00
Yağızhan
f5195315ca
Updated the README section for theming
2023-01-07 13:51:38 +03:00
Yağızhan
d153dc9a46
Moved the templates to their own folders
2023-01-07 13:49:47 +03:00
Yağızhan
44dcbb7cfe
Merge branch 'main' of https://github.com/BelleNottelling/AntCMS
2023-01-07 13:44:22 +03:00
Yağızhan
5670529b11
Adjusting Tailwind config
2023-01-07 13:44:03 +03:00
Belle Aerni
893cdc99f8
Hm, does this do the trick?
2023-01-07 02:27:07 -08:00
Yağızhan
de5069d79e
These need to be generated, so ignoring them.
2023-01-07 13:26:05 +03:00
Belle Aerni
60633f11e0
Action to publish previews
2023-01-07 02:20:29 -08:00
Yağızhan
718ff4f9e8
Pushing the Tailwind theme
2023-01-07 13:18:16 +03:00
Belle Aerni
d3798cceca
Move nav layout to it's own file
2023-01-07 02:02:51 -08:00
Belle Aerni
d5e19ecf4d
Fix a really dumb typo..
2023-01-07 01:45:51 -08:00
Belle Aerni
4dc49dd861
Updated the readme
2023-01-07 01:44:18 -08:00
Belle Aerni
2fc2775720
Slightly better theming support
2023-01-07 01:28:04 -08:00
Belle Aerni
4a80f51403
Improved default layout
2023-01-06 18:54:59 -08:00
Belle Aerni
666e82967e
Move to the right folder
2023-01-06 18:27:03 -08:00
Belle Aerni
28ca1b87e4
Add PHPStan
2023-01-06 18:25:28 -08:00
Belle Aerni
6a354be240
Create dependabot.yml
2023-01-06 18:08:47 -08:00
Belle Aerni
ceea75b233
Messed around a bit with the page template
2023-01-06 17:47:03 -08:00
Belle Aerni
622f99adff
Rudimentary navigation generation
2023-01-06 17:09:55 -08:00
Belle Aerni
7ab664e18f
Automated page list generation
2023-01-06 16:16:11 -08:00