The smallest CMS engine ever, made with ASP.NET Core and Dapper. Currently, only static content is supported, but adding new pages is as simple as inserting a new row in a database table with the raw HTML or markdown content of the page.
Setup
- Create database tables using the scripts available in the TinyCms.Database project
- Insert a row in the Sites table (currently, only a single site is supported)
- Insert at least a row in the ContentPages table for the Home Page of the site, using index as url. The Content column can be any HTML or markdown
- Create all the other pages in the ContentPages table, with the url you want
- (optional) Specify 404 and 403 response pages inserting the corresponding rows in the ContentPages table, using 404 and 403 url respectively
- Set the database connection string in the appsettings.json file.
- Have fun 😉
Contribute
The project is constantly evolving. Contributions are welcome. Feel free to file issues and pull requests on the repo and we'll address them as we can.