All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
—
v0.5.0 - 2024-10-20
- Allow usage of
.Params
in main and footer menus. - Allow usages of
.Pre
&.Post
in main, meta and footer menus.
- Draw author information from
.Params.Author
instead of.Author
. (Please adjust your configuration accordingly!) - Update example page configuration for new
.pagination
setting. - Updated
@rollup/plugin-typescript
,del-cli
,autoprefixer
,cssnano
,postcss-discard-comments
,postcss-import
,postcss
,rollup
,tslib
,typescript
and inner dependencies.
- Add missing XML declaration in rss feeds (
<?xml … ?>
).
- Drop inclusion of
.Params.css
setting, but add examples inhead.html
partial
v0.4.6 - 2024-01-29
- Missing is-active detection in footer menu.
- Ability to freely influence the output order of pages.
Use
orderPageParam
&orderPageReverse
to specify any combination. Default is like.byDate.Reversed
. (Followup from v0.4.4 & v0.4.5). - Deprecation notice when using
.Site.Params.css
. Use thehead.html
partial to add arbitrary stuff to the<head/>
of the page!
- Reflect changed branch name in
README.md
. - Explicitly order menus (header & footer) by weight.
- Determine pages to display on main index via
section
instead oftype
.
- Duplicated headline
README.md
. - Restore is-active detection in menus.
This can only be done via configuration (examples were adjusted).
tldr; replace
url
withpageref
and see the comments of this issue for more details. - Only add
author
meta tag if site author is configured.
v0.4.5 - 2024-01-21
- Missing
integrity
parameters for (both built in and custom) CSS files and the favicon. - Add
crossorigin
parameters for all CSS & JS files.
- Bump typescript compilation target from
ES3
toes6
(should have done this years ago ^^). - Updated
rollup
and inner dependencies. - Code to render RSS link in the footer is more resilient now.
- Explicitly order pages in lists and RSS feed by date (Followup from v0.4.4).
- Wrong escaping inside
integrity
parameters for CSS and JS files. - Also adjust all places where wrong escaping issues could occur
(
atom:link
w. rel="self" in RSS feed; links to RSS feeds; link to favicon).
- Drop ability to have footer links without
url
. They make no sense, and worse look ugly. - Ability to load custom css files or favicons from the
static
folder. Onlyassets
folder is supported as it supports pipes with fingerprinting. - Drop
url
to hugo page in RSS feedgenerator
tag (unifies withhugo.Generator
output).
v0.4.4 - 2024-01-18
- Updated
@rollup/plugin-terser
,@rollup/plugin-typescript
,autoprefixer
,cssnano
,del-cli
,postcss-discard-comments
,postcss-import
,rollup
,source-serif
,tslib
,typescript
and inner dependencies.
- Adjust minimal version in
theme.toml
. - Explicitly order pages by date on main page. Thanks @fami-com for the hint.
v0.4.3 - 2023-01-05
- Provide some global
centered
css helper class to be used in custom partials and/or shortcodes. - Newer screenshots.
- Overwrite
text-transform: uppercase
statement in main menu heading. This is some style decision frompurecss
itself. But we assemble navigation differently (two separate ones), so it's not required. - Add some space to definition list styling.
- Center main menu items on small viewports, where other menu items stay horizontal in this case.
- Overall width of menus is now consistent.
- Menus and their items do not overflow anymore.
- Remove logic to toggle styling of navigation depending on viewport
from javascript. This is now done via css via
@media
queries. - Drop
pull-start
andpull-end
css helpers.
v0.4.2 - 2023-01-01
- Example configuration on how to adjust creation of
sitemap.xml
. - Some template to create
robots.txt
. Include all pages, but disallows the taxonomy list pages.
- Updated
@rollup/plugin-terser
,rollup
and inner dependencies.
- Turn chained filters (using
|
) into explicit function calls.
- Drop
preserveTaxonomyNames
configuration from example pages as this setting was removed in Hugo 0.55.
v0.4.1 - 2022-12-19
- Migrate build process to major versions of
@rollup/plugin-typescript
,@rollup/plugin-terser
and latestrollup
(v3). - Updated
autoprefixer
,cssnano
,postcss-import
,purecss
,tslib
,typescript
and inner dependencies.
- Drop
clearfix
CSS rule as it is not required anymore.
v0.4.0 - 2022-10-09
integrity
property to script tags.- Introduced
showRssLink
setting to control display of RSS link in the footer. Thanks @ivan3bx for the idea. partials/head.html
- It may be overwritten to place any content into the<head/>
of the build output.
- Updated
purecss
,@rollup/plugin-typescript
,autoprefixer
,cssnano
,del-cli
,postcss-discard-comments
,postcss-import
,rollup
,tslib
,typescript
and inner dependencies.
v0.3.9 - 2022-01-29
.hugo_build.lock
of example sites to.gitignore
.
- Updated
@rollup/plugin-typescript
,autoprefixer
,cssnano
,postcss-discard-comments
,rollup
,rollup-plugin-postcss
,typescript
and inner dependencies.
v0.3.8 - 2021-10-02
- Some
demosite
entry intotheme.toml
.
- Major cleanup of
CHANGELOG.md
: unify backtick usage; add missing dates to releases. - Updated
autoprefixer
,rollup
and inner dependencies.
- Apply
showMeta
setting also on posts in list view.
- Drop
build-site.js
script as it is unused.
v0.3.7 - 2021-09-14
- Switched back to stable version of
source-code-pro
again as it has been released upstream (Introduced in v0.3.3). - Updated
autoprefixer
,cssnano
,del-cli
,rollup
,@rollup/plugin-typescript
,rollup-plugin-postcss
,source-sans-pro
,tslib
,typescript
and inner dependencies.
- Removed duplicate key inside
tsconfig.json
.
v0.3.6 - 2021-07-05
- Increased speed of Scroll to top by a factor of four. Scrolling on very long pages takes forever, so fix that.
- Only add
pure-img
&pure-table
CSS classes to existing list instead of replacing them completely. This allows more flexible customization either inplace or through thecustom.css
. - Updated
rollup
,typescript
and inner dependencies.
v0.3.5 - 2021-06-20
- Added setting
showMeta
which allows hiding the title, date and meta info of posts in single view.
- Reformatted all
.md
files so markdown lint should not report any issues. - Updated
autoprefixer
,cssnano
,del-cli
,postcss-discard-comments
,rollup
,tslib
,typescript
and inner dependencies.
- Cleanup html to render the subtitle with proper placement inside the navbar.
v0.3.4 - 2021-05-14
- Updated
autoprefixer
,postcss-discard-comments
,postcss-import
,postcss-url
,purecss
,rollup
,tslib
,typescript
and inner dependencies. - Switched from
rollup-plugin-typescript2
to@rollup/plugin-typescript
. - Switched from
source-sans-pro
andsource-serif-pro
tosource-sans
andsource-serif
(got renamed).
- Display of line numbers in inline code blocks.
- Some cruft inside
rollup.config.js
.
v0.3.3 - 2021-01-10
- Updated
autoprefixer
,postcss
,postcss-import
,rollup
,rollup-plugin-postcss
,typescript
,tslib
and inner dependencies. - Changed all paths inside
rollup.config.js
to be absolute. This reflects new API from postcss and avoids trouble when building from other contexts.
- Fixed now deprecated contentLanguage configuration values in the examples
- Switched the node package of
source-code-pro
to use the source of therelease
branch. This finally fixes black text on black background issue. The culprit was a SVG table with colored glyphs in them (original bug). Now code samples can be read again.
v0.3.2 - 2020-06-06
- Allow supression of meta information per page. Thanks @rissson for the pull request.
- Show last modified date in post meta. Thanks @rissson for the pull request.
- Updated
purecss
,autoprefixer
,rollup
, some of it's plugins,typescript
and inner dependencies.
v0.3.1 - 2020-04-02
- Switched typescript plugin from
rollup-plugin-typescript
torollup-plugin-typescript2
to be better aware of errors. - Adjusted typescript module to fit all conventions.
- Updated
autoprefixer
,rollup
, some of it's plugins,typescript
and inner dependencies. - Regular pages (not posts) are omitted on the main index pages.
- Dropped compatibility stylesheet for old Internet Explorer versions.
- Fixed errors in typescript module (some interface not missing, wrong type as function parameter).
- Fixed configuration of example site to restore demo on Hugo Themes website.
- Fixed scroll bars for code blocks.
v0.3.0 - 2019-11-26
- Introduced Hugo Pipes to include
CSS and JavaScript files. This introduces fingerprinting
(Custom stylesheets can now be placed under
assets
to fingerprint them as well). - Enable placement of favicon into
assets
folder to enable fingerprinting as well. - Updated feed template to honor the
services.rss.limit
setting.
- Updated
rollup
,autoprefixer
, fonts and inner dependencies. - Use local files for screenshots in changelog site.
- Reimplemented JavaScript part in typescript for better code quality and compatibility.
- Cleanup the
build-sites.js
script using template literals. - Replaced deprecated
.Site.RSSLink
with.OutputFormats.Get "RSS"
. - Changed link building to use
.RelPermalink
orrelUrl
for propercanonifyURLs
behavior. - Updated
README.md
. - Added horizontal spacing for all code blocks.
- Prevent adding the
pure-table
CSS class to tables containing code listings. This fixes broken display of code, and allows better output of line numbers alongside code samples. - Generate feed from the proper input source to find all matching pages.
- Changed CSS rule to match highlighted line in code blocks.
v0.2.2 - 2019-07-27
- Created some 404 page.
- Display
README.md
file in changelog site - rewritten shortcode template to support this.
- Replaced hardcoded text in the 404 page with something freely configurable.
- Updated
rollup
,autoprefixer
,del-cli
and inner dependencies. - Updated
purecss
andsource-serif-pro
font. - Dropped usage of now deprecated Page's
.Hugo
and.URL
functions. - Rewritten terms listing to use the taxonomy pages - this avoids manual creation of links, allows usage of link titles and outputs proper taxonomy names (instead of only lowercased ones).
- Reintroduce left aligning of subtitle on small viewports; Prevents missplaced subtitle when no site navigation is configured.
v0.2.1 - 2019-03-28
- Added new example site called changelog - displaying this file.
- Moved old exampleSite into
_sites/example
, using a symlink to keep (required)exampleSite
intact. - Updated
autoprefixer
. - Let
build-example.js
script pass through the exit code of hugo on error. - Renamed
build-example.js
tobuild-site.js
. - Make
build-site.js
evaluate some commandline flag to build any site below_sites
. Use e.g.npm run site -- changelog
to build changelog. - Dropped right aligning of the subtitle on smaller viewports.
- Changed the breakpoint size in the JavaScript to match with the CSS.
- Allow
build-site.js
script to be launched from any directory. - Fix spacing issues for inline code tags and leading indent of code blocks.
- Changed the order how the grid of
purecss
is bundled together. Fixes issue where the responsive grid elements did not work.
v0.2.0 - 2019-03-12
- Introduced
showNavHeader
setting which allows hiding the top navigation with title/subtitle if set tofalse
. Tanks @mattt-b for the idea & subtle hint. - Introduced
showEmptyPagination
setting which hides the pagination if there is not enough content to paginate if set tofalse
. Tanks @mattt-b for the idea & subtle hint. - Added setting
showMetaDates
which allows hiding the date field of posts. - Added build target for dist versions of assets without deleting them first.
This prevents a parallel running
hugo serve
from getting confused. - Added setting
showMetaLinks
which allows hiding the meta info of posts. - Introduced new
menu.meta
navigation settings → meta info links for posts are now freely configurable: Names and URLs can be changed, Titles may be set, ordering (weight
) can be influenced. Tanks @mattt-b for the idea & subtle hint. - Added meta links to taxonomy RSS feeds in the html header.
- Option to show full content is now called
showFullContent
(camelCase). - Replaced all
cond isset ($.Site.Params "foo") $.Site.Params.foo "bar"
constructs withdefault "bar" $.Site.Params.foo
. - Changed all relative URLs inside
README.md
so the demo page does not have broken links. - Clarified consequences when title is not set in config.
- Set
preserveTaxonomyNames
to true forexampleSite/config.toml
(allows to spot bugs early from improper taxonomy handling). - Updated
autoprefixer
androllup
. - Option to format date is now called
dateFmt
(camelCase). - Set fallback date (if
dateFmt
not set) to RFC822. - Renamed
footer-content
CSS class tofooter
. - Introduced
navigation
CSS class wrappingnavigation-header
andnavigation-content
. - Display of subtitle will not be right aligned anymore on small viewports.
- Using
path.Join
to construct URLs - This is more robust if any part contains leading or trailing slashes. - Information of meta links for posts is not hardcoded anymore and can be
configured using
menu.meta
setting.
- Cleaned up some minor parts (mostly whitespace and formatting issues).
- Adjusted line below header to relate to the new
header
class. - Ensured that an empty navigation does not draw an empty
navigation-content
container. → This allows a site to be completely without any navigation, only one of both, or all of them. - Added a
clearfix
CSS rule to prevent display issues with sites that only use a subtitle asnavigation
.
v0.1.5 - 2019-03-02
- Links in the header and footer now honor and display the title attribute.
- Using sensible URLs for the
exampleSite/config.toml
footer links. - Unified headline style outside and inside post content.
- Updated
rollup
.
- Changed some tags to output valid html.
- Fix cursor display for "Go to top" button.
v0.1.4 - 2019-03-02
- Ability to add custom stylesheet to the header. Thanks @dtieber for the pull request.
- Explicit check if files exist on disk before including them (custom stylesheet, favicon) - This avoids unnecessary 404 requests.
- Introduced this
CHANGELOG.md
file.
- Generation of URLs when BaseURL is below some subfolder. This fixes the demo preview on the Hugo themes site. Thanks @onedrawingperday for the hint and solution.
v0.1.3 - 2019-02-24
- Updated
autoprefixer
,postcss-discard-comments
,rollup
androllup-plugin-postcss
. - Replaced
rollup-plugin-copy
withrollup-plugin-copier
. The former package used deprecated build hooks fromrollup
.
- Dropped
postcss-advanced-variables
package from the build toolchain. This allows proper linting of CSS files.
v0.1.2 - 2019-01-16
- Some screenshots.
- Replaced
trash-cli
package withdel-cli
for the build toolchain. - Using recommended url inside the
exampleSite/config.toml
. - Updated
source-sans-pro
andsource-serif-pro
fonts. - Updated
autoprefixer
androllup
.
v0.1.1 - 2018-12-23
- Updated inner dependencies inside the build toolchain.
- Some issues/missing parts in the
exampleSite/config.toml
. - Placement of images inside
figure
tag is now centered on page. - Links to categories, tags and series are now properly generated when the names contain spaces.
v0.1.0 - 2018-12-21
- Added
.editorconfig
file. - Started
package.json
file fornpm
. - Added
source-code-pro
,source-sans-pro
andsource-serif-pro
fonts. - Added
purecss
as css framework. - Implemented a build toolchain using
rollup
,postcss-import
,postcss-url
. - Added Twitter Cards, Open Graph and Schema.org integration
(using internal
hugo
templates). - Added a fully customizable menu for the footer.
- Added RSS Feed with complete entries (Atom format).
- Added a fully customizable menu for the header.
- Implemented pagination for posts and taxonomies displays.
- Added
Tomorrow Night
color scheme for syntax highlighting. - Extended build toolchain with
autoprefixer
,postcss-discard-comments
,postcss-advanced-variables
. - Implemented a custom stylesheet using colors from the
Tomorrow
color scheme. - Added
build-example.js
script to buildexampleSite
locally (throughnode
). - Extended build toolchain with run commands
(
dev
,dist
,version
, etc...).
- Unified whitespace inside all templates from the fork.
- Updated entries for
exampleSite
to more recent versions. - Copyright notice in footer sets year automatically.
- Merged main and font stylesheets into one.
- Updated
README.md
with current information. - Improved display of page metadata.
- Changed inclusion of templates using blocks instead of partials.
- Reduced css size (including only parts of
purecss
which are in use).
- Replaced "Back to top" feature with some proper JavaScript implementation.
- Using RFC 3339 time format inside
<time>
tags. - Unified and simplified the usage of the css grid columns.
- Improve behaviour when config entries are missing (by setting/using sane defaults).
- Dropped
custom_head.html
Template. - Dropped Google Analytics feature.
- Dropped Google Fonts for enhanced privacy.
- Dropped highlightjs (
hugo
can do that usingpygments
orchroma
). - Cleaned many parts with duplicated code.
- Dropped unused
single.html
Template. - Dropped all prebuilt stylesheets (building them with
rollup
now).
Please have a look into the fork: Temple
And the fork of the fork: Nofancy