diff --git a/.htaccess b/.htaccess index 401e756..1f9af00 100644 --- a/.htaccess +++ b/.htaccess @@ -5,59 +5,59 @@ Options -Indexes ErrorDocument 404 /index.php # Set the default handler. -DirectoryIndex index.php index.html index.htm +DirectoryIndex index.php # Requires mod_expires to be enabled. # to activate mode_expires - ExpiresActive on + # ExpiresActive on - ExpiresDefault "access plus 1 month" + # ExpiresDefault "access plus 1 month" # For CSS - ExpiresByType text/css "access plus 1 month" + # ExpiresByType text/css "access plus 1 month" # For Data interchange - ExpiresByType application/json "access plus 0 seconds" - ExpiresByType application/xml "access plus 0 seconds" - ExpiresByType text/xml "access plus 0 seconds" + # ExpiresByType application/json "access plus 0 seconds" + # ExpiresByType application/xml "access plus 0 seconds" + # ExpiresByType text/xml "access plus 0 seconds" # For Favicon - ExpiresByType image/x-icon "access plus 1 year" + # ExpiresByType image/x-icon "access plus 1 year" # For HTML components (HTCs) - ExpiresByType text/x-component "access plus 1 month" + # ExpiresByType text/x-component "access plus 1 month" # For HTML - ExpiresByType text/html "access plus 1 month" + # ExpiresByType text/html "access plus 1 month" # For JavaScript - ExpiresByType application/javascript "access plus 1 month" + # ExpiresByType application/javascript "access plus 1 month" # For Manifest files - ExpiresByType application/x-web-app-manifest+json "access plus 0 seconds" - ExpiresByType text/cache-manifest "access plus 0 seconds" + # ExpiresByType application/x-web-app-manifest+json "access plus 0 seconds" + # ExpiresByType text/cache-manifest "access plus 0 seconds" # For Media - ExpiresByType audio/ogg "access plus 1 month" - ExpiresByType image/gif "access plus 1 month" - ExpiresByType image/jpeg "access plus 1 month" - ExpiresByType image/png "access plus 1 month" - ExpiresByType video/mp4 "access plus 1 month" - ExpiresByType video/ogg "access plus 1 month" - ExpiresByType video/webm "access plus 1 month" + # ExpiresByType audio/ogg "access plus 1 month" + # ExpiresByType image/gif "access plus 1 month" + # ExpiresByType image/jpeg "access plus 1 month" + # ExpiresByType image/png "access plus 1 month" + # ExpiresByType video/mp4 "access plus 1 month" + # ExpiresByType video/ogg "access plus 1 month" + # ExpiresByType video/webm "access plus 1 month" # For Web feeds - ExpiresByType application/atom+xml "access plus 1 day" - ExpiresByType application/rss+xml "access plus 1 day" + # ExpiresByType application/atom+xml "access plus 1 day" + # ExpiresByType application/rss+xml "access plus 1 day" # For Web fonts - ExpiresByType application/font-woff "access plus 1 month" - ExpiresByType application/vnd.ms-fontobject "access plus 1 month" - ExpiresByType application/x-font-ttf "access plus 1 month" - ExpiresByType font/opentype "access plus 1 month" - ExpiresByType image/svg+xml "access plus 1 month" + # ExpiresByType application/font-woff "access plus 1 month" + # ExpiresByType application/vnd.ms-fontobject "access plus 1 month" + # ExpiresByType application/x-font-ttf "access plus 1 month" + # ExpiresByType font/opentype "access plus 1 month" + # ExpiresByType image/svg+xml "access plus 1 month" @@ -119,4 +119,4 @@ DirectoryIndex index.php index.html index.htm text/x-component \ text/xml - + \ No newline at end of file diff --git a/cache/installedVersion.json b/cache/installedVersion.json index be3f3ee..5b6301c 100644 --- a/cache/installedVersion.json +++ b/cache/installedVersion.json @@ -1,4 +1,4 @@ { "id": 782014, - "tag_name": "v2.5.5" + "tag_name": "v2.5.6" } diff --git a/config/config.ini.example b/config/config.ini.example index 93622b8..7bce769 100644 --- a/config/config.ini.example +++ b/config/config.ini.example @@ -65,6 +65,9 @@ related.count = "3" ; Recent posts recent.count = "5" +; Popular posts +popular.count = "5" + ; Author info on blog post. Set "true" or "false". author.info = "true" diff --git a/system/admin/views/update.html.php b/system/admin/views/update.html.php index d25d7fb..d084c22 100644 --- a/system/admin/views/update.html.php +++ b/system/admin/views/update.html.php @@ -19,11 +19,11 @@ if ($updater->able()) { echo '

Important: Please always backup your files before upgrading to newer version.

'; echo '

Update to ' . $info['tag_name'] . ' now

'; } else { - echo '

Congrats! You are Up to Date

'; + echo '

Congrats! You have the latest version of HTMLy

'; $info = $updater->getCurrentInfo(); echo '

Release Title: '. $info['name'] .'

'; - echo '

Version: '. $info['tag_name'] .'

'; + echo '

Installed Version: '. $info['tag_name'] .'

'; echo '

Release Notes:

'; echo '
'. $info['body'] .'
'; - echo '

Read on Github

'; + echo '

Read on Github.

'; } \ No newline at end of file diff --git a/themes/blog/main.html.php b/themes/blog/main.html.php index c6fda64..3e1f154 100644 --- a/themes/blog/main.html.php +++ b/themes/blog/main.html.php @@ -61,9 +61,9 @@ Read more - - - + + +
diff --git a/themes/blog/post.html.php b/themes/blog/post.html.php index 2beba76..bbb431b 100644 --- a/themes/blog/post.html.php +++ b/themes/blog/post.html.php @@ -49,9 +49,9 @@ url ?>> comments - - - + + +