Simple and fast databaseless PHP blogging platform, and Flat-File CMS
GPL-2.0 License
What's new:
Full Changelog: https://github.com/danpros/htmly/compare/v2.9.7...v2.9.8
Published by danpros 6 months ago
What's new:
Note for Directory traversal vulnerabilities
Note for WebP image
getimagesize
to check whether the image is valid or not. The getimagesize
added WebP support in PHP 7.1Full Changelog: https://github.com/danpros/htmly/compare/v2.9.6...v2.9.7
Published by danpros 7 months ago
What's new:
Note for roles:
Full Changelog: https://github.com/danpros/htmly/compare/v2.9.5...v2.9.6
Published by danpros 7 months ago
What's new:
admin/config/metatags
Note:
$metatags
and this must be added to HTML head tag to generate the Open Graph and Twitter card metatag. If you are using a theme that has not been updated or a custom theme, add below code in layout.html.php
<?php echo $metatags; ?>
Full Changelog: https://github.com/danpros/htmly/compare/v2.9.4...v2.9.5
Published by danpros 8 months ago
What's new:
Full Changelog: https://github.com/danpros/htmly/compare/v2.9.3...v2.9.4
Published by danpros 8 months ago
What's new
<!--toc-->
, can be added manually using the editor or automatically. Change it behavior in admin/config/widget
social()
function. Added Instagram, Linkedin, Github, Mastodon, TikTok, and Youtube.Full Changelog: https://github.com/danpros/htmly/compare/v2.9.2...v2.9.3
Published by danpros 9 months ago
What's new in v2.9.2
Change the post/page views counter ID from filename path to post/page slug. The format for blog post, post_postSlug
. Static page, page_pageSlug
. Subpage, subpage_parentSlug.subpageSlug
. The pointer string with the slug separated by an underscore for easier to filter it.
How to update it? the conversion occurs naturally, to speed it up, simply visiting any post collection pages, and browse it using the pager.
Release note from v2.9.1
functions.php
if this file exist in theme folderNote:
get_menu
functionfunctions.php
, use themeName_functionName()
, to make sure not conflicted with existing functionFull Changelog: https://github.com/danpros/htmly/compare/v2.9.1...v2.9.2
Published by danpros 9 months ago
What's new:
functions.php
if this file exist in theme folderNote:
get_menu
functionfunctions.php
, use themeName_functionName()
, to make sure not conflicted with existing functionFull Changelog: https://github.com/danpros/htmly/compare/v2.9.0...v2.9.1
Published by danpros 10 months ago
What's new:
feed
suffix in the post collection url (category, tag, type, search, archive, author) will generate RSS feedget_static_post
to find_page
and get_static_sub_post
to find_subpage
post
used in post.html.php
and static
used in static.html.php
Published by danpros 10 months ago
So what's new in this version? not much but quite crucial.
$_SERVER['REQUEST_URI']
always url-encoded (eg. URL with Chinese char)Published by danpros 10 months ago
Highlight from 2.8.3
-> 2.8.8
:
strftime
to localize the date format$post->lastMod
and theme_path()
Published by danpros 11 months ago
What's new:
$post->lastMod
and theme_path()
.Published by danpros 11 months ago
What's new:
Published by danpros 11 months ago
What's new:
Published by danpros 11 months ago
What's new:
After updating, please choose your blog time format and your local timezone in admin/config
Published by danpros 11 months ago
What's new:
After updating, please choose your blog time format in admin/config
Published by danpros over 2 years ago
What's new:
Published by danpros over 3 years ago
samesite
cookie attribute strict
for CSRF reasons. Credit @ProjectPatatoe$p->readTime
, $p->authorName
, $p->authorAbout
for better themingPublished by danpros over 3 years ago
$p->video
now return the video link only, to get the video ID we can use get_video_id($p->video);
and call it from the theme.If you are not using theme shipped with HTMLy source code, please download the updated version. If you already modify the theme and don't want your changes to be lost, simply update the <?php echo $p->video;?>
to <?php echo get_video_id($p->video); ?>
in main.html.php
and post.html.php
.
Published by danpros over 3 years ago