What's new:
Sometimes we need custom layout for all of things. New available template files.
Front page
layout--front.html.php // only layout for front page
static--front.html.php // main content if we use static frontpage
main--front.html.php // main content if we use dynamic frontpage
Blog
This is for /blog
url.
layout--blog.html.php
main--blog.html.php
Static page
Example is for /about
page
layout--static--about.html.php // only layout for `/about` page
layout--static.html.php // layout for all static page
static--about.html.php // main content for `/about' page
Sub static page
Example this is /about/me
page
layout--static--about--me.html.php // only layout for `/about/me` page
layout--static--about.html.php // parent template
static--about--me.html.php // main content for `/about/me' page
static--about.html.php // main content for parent template
Blog post
The blog post only available styling based on category.
layout--post--uncategorized.html.php // layout for all blog post with uncategorized category
layout--post.html.php // layout for all blog post
post--uncategorized.html.php // main content for individual post with uncategorized category.
Category
Example is uncategorized category.
layout--category--uncategorized.html.php
layout--category.html.php
main--category--uncategorized.html.php
main--category.html.php
Tags
Example is post tagged: github.
layout--tag--github.html.php
layout--tag.html.php
main--tag--github.html.php
main--tag.html.php
Archive
layout--archive.html.php
main--archive.html.php
Search
layout--search.html.php
main--search.html.php
For new installation this options already available inside config.ini but for existing installation you need to add it manually if you want to override the value. The default value is 6 hours.
cache.expiration = "6"