pip install htmd[dev]
to install development dependencies
python -m htmd
will now workstyles
block in_layout.html
templatescripts
block in_layout.html
template- draft: build to add draft to build
preview --drafts
to view site as if all drafts are published
- Ignore Frozen-Flask MissingURLGeneratorWarning
htmd preview
will reload when static files change- Drafts will be served with /draft/ URL prefix
htmd preview
will only serve pageshtmd preview
will show 404 for authors that don't exist- build draft without published
- errors when a config folder did not exist
- Set post time on build
- Add published or updated on build
- Draft posts
- Build all pages instead of just pages that are linked to from the site
tags
sent to all_tags.html is now a dict- Hide Python warnings when using
htmd
- Atom feed URL
- Using wheel without installing
- Use toml for the config file
htmd
will work from child directories in the project
- Dropped support for Python 3.10
--version
option
- Use only pyproject.toml
__init__.py
files in example_site
- Python 3.12 support
- Remove deprecation warnings
- Python 3 support
- --all-templates option for
htmd start
- templates command
- 404 page
- tests
- setting MINIFY_HTML to minify resulting HTML
- setting PRETTY_HTML to fix indentation of resulting HTML
- SITE_NAME bug in og:site_name
- tag class to tag links
- option to prevent minification of JS, CSS, and HTML
- pygments stylesheet
- default styles for Markdown elements
- option to show the beginning of the post in lists.
- default links styles for posts in lists.
- option to show the beginning of the post in lists.
- default links styles for posts in lists.
- getting install_requires from requirements.txt
.js
files in the static directory are combined and minified and combined.min.js is used in_layout.html
.css
files in the static directory are combined and minified and combined.min.css
is used in_layout.html
- posts are sorted
- routes for tags and authors
- tags are sized based on number of times used
- custom meta tags and use in templates
- override templates
- separate folders for posts (think blog) and pages (think about, contact)
- Atom feed for all posts
- multiple author support