Due to it's simplistic nature, getting started with AntCMS is very easy compared to some CMS solutions. Simply follow the steps we have laid out below, and you'll be off to the races!
Note: AntCMS is still under development and is considered alpha software due to not yet being complete, however it is already very fast and should be stable once setup.
curl
, dom
, and mbstring
extensions loaded.Writing content for AntCMS is easy as it uses markdown. AntCMS supports most extended markdown syntax, including emojis and some GitHub styled markdown extras.
All content is stored in the /Content
directory as .md
files. Subfolders can be used. For example: /Content/docs/gettingstarted.md
will be accessible by going to example.com/docs/gettingstarted
All pages must include a page header, this is used by AntCMS to get important page data. Please see this example for a page header:
--AntCMS--
Title: An Example!
Author: The AntCMS Team
Description: Getting started with AntCMS.
--AntCMS--
When creating your page header, be sure to put a space after the ':', omitting it will cause issues when AntCMS tries to fetch the header info.
Valid: Title: This is a Title
invalid: Title:This is a Title
.
If you find you need to re-order items in the navbar or rename a navbar drop down, you may do so by creating a meta.yaml
file inside the directory.
Below are example contents for one of these files:
# Sets the title of the dropdown menu
title: 'Documentation'
# Overrides the automatically selected order
pageOrder:
gettingstarted: 1
webservers: 2
markdown: 3