Skip to content

Support URLs written in Chinese, Japanese, Arabic etc.

Compare
Choose a tag to compare
@danpros danpros released this 24 Dec 01:13
· 1032 commits to master since this release

What's new?

Like the release title. Now HTMLy support non latin char for any URLs (eg. slug for post, tag, category). Well simple changes/fixes from previous version actually but very important since it can make HTMLy usable in many cases.

HTMLy try to convert to latin and if it can't than HTMLy will use the URL as is.

Previous Release

HTMLy v2.6.8

What's new:

  • Improving template engine.
  • Cache expiration.
  • Bugs fixes.

Template improvements

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

Cache expiration

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"