Skip to content

Releases: danpros/htmly

Performance tweak and bugs fixes

09 Jan 05:51
Compare
Choose a tag to compare

What's new:

  • Improve performance. The category index created to speed up the page load across many pages.
  • Template improvements.
  • Bugs fixes. See #236

Fix footnote link

04 Jan 02:21
Compare
Choose a tag to compare

What's new:

  • Fix the footnote link on teaser. Use absolute URL.
  • Fix theme for the new read more. Make sure to use the updated theme.

Happy New Year 2016

01 Jan 19:06
Compare
Choose a tag to compare

What's new:

  • The ported WP theme (Twenty Fifteen and Twenty Sixteen) include with the package since its a GPL theme
  • You can use <!--more--> tag to cut the teaser when using teaser type full
  • New widget category_list()
  • List post based on content type www.example.com/type/image

Support URLs written in Chinese, Japanese, Arabic etc.

24 Dec 01:13
Compare
Choose a tag to compare

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"

Improving Template Engine & Cache Expiration

21 Dec 12:29
Compare
Choose a tag to compare

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"

Maintenance release and bugs fixes

01 Dec 15:49
Compare
Choose a tag to compare

What's new:

  • Simplify the admin panel codes for better future developments.
  • Update the themes.
  • Bugs fixes.

Multi Language Improvements, Pager Algorithm

23 Nov 12:07
Compare
Choose a tag to compare

What's new:

  • Using URLify. A PHP port of URLify.js from the Django project for multi language improvements.
  • New Pager Algorithm e.g. Page 1 of 10 and/or more advanced pagination.
  • New variable for better theming.

Static Frontpage, New Theme, and Improvements

14 Nov 15:06
Compare
Choose a tag to compare

What's new:

  • Static frontpage. Add static.frontpage = "true" to your config.ini
  • New theme ported from WordPress: Twenty Fifteen and Ignite Theme.
  • Improving post navigation (previous and next).
  • Improving the custom menu. Add active class.
  • Bugs fixes.

Improvements and bugs fixes

21 Sep 07:02
Compare
Choose a tag to compare

What's new:

  • Using Pagedown extra for the markdown editor instead of standard Pagedown
  • Adding sitemap.category.xml
  • Bugs fixes for sitemap.author.xml
  • Update the composer vendor

Critical bugs fixes

29 Aug 04:45
Compare
Choose a tag to compare

HTMLy v2.6.3

This quick release is to fix issue #198 (can't add the featured link after the folder structure changed) and reCAPTCHA login problems.

HTMLy v2.6.2

What's new:

  1. Finally now htmly can creating category
  2. 404 pages and 404 searches rendered within layout by @greenphp
  3. The folder structure changed
  4. To call related post widget you need to use get_related($p->related) instead of get_related($p->tag)
  5. Set category.perpage = "YourValue" to specify the category list and set category.info = "true" to show up the category information in your category index page.

Important

If this is an upgrade then you need to clear cache after the update process finished using the admin toolbar link to migrate your old content to new folder structure.

Old structure:

content/username/blog/file.md

New structure:

content/username/blog/category/type/file.md