Creating Your Home Page
There are several ways to create your home/landing page, lets walk through them.
Default Behavior
feed
By default if there is no index page, the feed plugin will make a home page for you that simply lists all the the articles by title.
index.md
markdown
You can also have an index.md
in your pages directory, and it will become the
index.html
on at render time. This is how markata.dev
achieves it's own home page.
static/index.html
html
If you want something more complicated (i.e. not easily done in markdown), you
can simply just make an index.html
in your Markata().config['assets_dir']
and it will become your home page.
Note
your default assets_dir
will be the static diretory in the root of your
project. You can change this by adding to your markata.toml
settings
file.
[markata] assets_dir = "assets"
This is how the homepage of waylonwalker.com is achieved.