We're happy to announce that today we've released the new Blog Template for Piranha CMS
5.0. We had to wait for the release since some of the Archive Filtering functionality needed was in the new version. Also the template is based on the new Block Editor that we're super excited about!
Installing the template
To install the template on your local machine, type the following in your terminal of choice:
dotnet new -i Piranha.Blog.CSharp
After the template has been successfully installed you can create a new project by standing in an empty folder and typing.
dotnet new piranha.blog
What do you get!
When starting your project on the blog template you will get a clean blog site with:
- Bootstrap 4.0
- Awesome typography
- Styling based on
- Build rules for both
The start page of any good Blog should be the Archive.
With the Blog Template you get a beautiful archive with functionality for:
- Filtering on date (year & moth)
- Filtering on category
- Filtering on tag
- Configurable paging
The posts have an optional Primary Image and the new Block Based content. This gives a lot of room for being creative when writing your posts. This is for example how the main content from the same post looks in the manager.
To finish it off you also get a basic page type that also uses the new Block based content.
Feedback & Contributions
If you any ideas or suggestions regarding what more could be in the Blog Template, you can find the entire source code for it at GitHub. Add an issue, or fork it and send a pull request.