This is a full featured theme for Kontent and Statiq using Kontent.Statiq. Check out the live demo.
- Posts & Pages with
- SEO support: open graph & twitter cards
- Google Analytics
- Search with pre-compiled Lunr index
- Atom and RSS feeds
- HTML minification with NUglify
- Click the "Use this template" button to create your own repository from this template.
dotnet run -- preview
- You can also emulate running the project in a virtual directory by appending
--virtual-dir memoirs
. See all preview options.
- You can also emulate running the project in a virtual directory by appending
- Go to
http://localhost:5080/
🎊🎉 You are now ready to explore the code base!
By default, the content is loaded from a shared Kentico Kontent project. If you want to use your own clone of the project so that you can customize it and experiment with Kontent, continue to the next section.
- Go to app.kontent.ai and create an empty project
- Go to the "Project Settings", select API keys and copy the following keys for further reference
- Project ID
- Management API key
- Use the Kontent Backup Manager and import data to the newly created project from
content.zip
file via command line:
npm i -g @kentico/kontent-backup-manager
kbm --action=restore --projectId=<Project ID> --apiKey=<Management API key> --environmentId=<Environemtn Id> --zipFilename=content
Go to your Kontent project and publish all the imported items.
- Map the codebase to the data source
- adjust the
DeliveryOptions:ProjectId
key inappSettings.json
- adjust the
🚀 You are now ready to use the site with your own Kentico Kontent project as data source!
- Enable GitHub actions in your repo
- Copy the
.github/workflows/dotnet-core.yml
to your project - Go to the repository secrets and set:
- Open
appsettings.json
to tweak the site name etc. - Enable Google Tag Manager by setting the
GoogleAnalytics
setting - Update the
DisqusId
to hook up to your Disqus account - Make sure you update / adjust Prism syntax highlighter to your liking. Follow the link at the top of prism.js and adjust the settings as needed.
This theme was adopted from the Memoirs Jekyl theme by Wowthemes. Please buy them coffee! It uses additional images from Pexels.