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.
—
.Params
in main and footer menus..Pre
& .Post
in main, meta and footer menus..Params.Author
instead of .Author
.
(Please adjust your configuration accordingly!).pagination
setting.@rollup/plugin-typescript
, del-cli
, autoprefixer
, cssnano
,
postcss-discard-comments
, postcss-import
, postcss
, rollup
, tslib
,
typescript
and inner dependencies.<?xml … ?>
)..Params.css
setting, but add examples in head.html
partialorderPageParam
& orderPageReverse
to specify any combination.
Default is like .byDate.Reversed
. (Followup from v0.4.4 & v0.4.5)..Site.Params.css
.
Use the head.html
partial to add arbitrary stuff to the <head/>
of the page!README.md
.section
instead of type
.README.md
.url
with pageref
and see the comments of this
issue
for more details.author
meta tag if site author is configured.integrity
parameters for (both built in and custom) CSS files
and the favicon.crossorigin
parameters for all CSS & JS files.ES3
to es6
(should have done this years ago ^^).rollup
and inner dependencies.integrity
parameters for CSS and JS files.atom:link
w. rel=“self” in RSS feed; links to RSS feeds; link to favicon).url
.
They make no sense, and worse look ugly.static
folder.
Only assets
folder is supported as it supports pipes with fingerprinting.url
to hugo page in RSS feed generator
tag
(unifies with hugo.Generator
output).@rollup/plugin-terser
, @rollup/plugin-typescript
, autoprefixer
,
cssnano
, del-cli
, postcss-discard-comments
, postcss-import
, rollup
,
source-serif
, tslib
, typescript
and inner dependencies.theme.toml
.centered
css helper class to be used in custom
partials and/or shortcodes.text-transform: uppercase
statement in main menu heading.
This is some style decision from purecss
itself. But we assemble
navigation differently (two separate ones), so it’s not required.@media
queries.pull-start
and pull-end
css helpers.sitemap.xml
.robots.txt
. Include all pages, but disallows
the taxonomy list pages.@rollup/plugin-terser
, rollup
and inner dependencies.|
) into explicit function calls.preserveTaxonomyNames
configuration from example pages as this
setting was removed in Hugo 0.55.@rollup/plugin-typescript
,
@rollup/plugin-terser
and latest rollup
(v3).autoprefixer
, cssnano
, postcss-import
, purecss
, tslib
,
typescript
and inner dependencies.clearfix
CSS rule as it is not required anymore.integrity
property to script tags.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.purecss
, @rollup/plugin-typescript
, autoprefixer
, cssnano
,
del-cli
, postcss-discard-comments
, postcss-import
, rollup
, tslib
,
typescript
and inner dependencies..hugo_build.lock
of example sites to .gitignore
.@rollup/plugin-typescript
, autoprefixer
, cssnano
,
postcss-discard-comments
, rollup
, rollup-plugin-postcss
,
typescript
and inner dependencies.demosite
entry into theme.toml
.CHANGELOG.md
: unify backtick usage; add missing
dates to releases.autoprefixer
, rollup
and inner dependencies.showMeta
setting also on posts in list view.build-site.js
script as it is unused.source-code-pro
again as it has been
released upstream (Introduced in v0.3.3).autoprefixer
, cssnano
, del-cli
, rollup
,
@rollup/plugin-typescript
, rollup-plugin-postcss
, source-sans-pro
,
tslib
, typescript
and inner dependencies.tsconfig.json
.pure-img
& pure-table
CSS classes to existing list instead of
replacing them completely. This allows more flexible customization either
inplace or through the custom.css
.rollup
, typescript
and inner dependencies.showMeta
which allows hiding the title, date and meta info
of posts in single view..md
files so markdown lint should not report any issues.autoprefixer
, cssnano
, del-cli
, postcss-discard-comments
,
rollup
, tslib
, typescript
and inner dependencies.autoprefixer
, postcss-discard-comments
, postcss-import
,
postcss-url
, purecss
, rollup
, tslib
, typescript
and inner dependencies.rollup-plugin-typescript2
to @rollup/plugin-typescript
.source-sans-pro
and source-serif-pro
to
source-sans
and source-serif
(got renamed).rollup.config.js
.autoprefixer
, postcss
, postcss-import
, rollup
,
rollup-plugin-postcss
, typescript
, tslib
and inner dependencies.rollup.config.js
to be absolute. This reflects
new API from postcss and avoids trouble when building from other contexts.source-code-pro
to use the source of the
release
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.purecss
, autoprefixer
, rollup
, some of it’s plugins,
typescript
and inner dependencies.rollup-plugin-typescript
to rollup-plugin-typescript2
to be better aware of errors.autoprefixer
, rollup
, some of it’s plugins, typescript
and inner dependencies.assets
to
fingerprint them as well).assets
folder to enable fingerprinting
as well.services.rss.limit
setting.rollup
, autoprefixer
, fonts and inner dependencies.build-sites.js
script using template literals..Site.RSSLink
with .OutputFormats.Get "RSS"
..RelPermalink
or relUrl
for proper
canonifyURLs
behavior.README.md
.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.README.md
file in changelog site - rewritten shortcode
template to support this.rollup
, autoprefixer
, del-cli
and inner dependencies.purecss
and source-serif-pro
font..Hugo
and .URL
functions._sites/example
, using a symlink to keep
(required) exampleSite
intact.autoprefixer
.build-example.js
script pass through the exit code of hugo on error.build-example.js
to build-site.js
.build-site.js
evaluate some commandline flag to build any site
below _sites
.
Use e.g. npm run site -- changelog
to build changelog.build-site.js
script to be launched from any directory.purecss
is bundled together.
Fixes issue where the responsive grid elements did not work.showNavHeader
setting which allows hiding the top
navigation with title/subtitle if set to false
.
Tanks @mattt-b for the idea & subtle hint.showEmptyPagination
setting which hides the pagination
if there is not enough content to paginate if set to false
.
Tanks @mattt-b for the idea & subtle hint.showMetaDates
which allows hiding the date field of posts.hugo serve
from getting confused.showMetaLinks
which allows hiding the meta info of posts.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.showFullContent
(camelCase).cond isset ($.Site.Params "foo") $.Site.Params.foo "bar"
constructs with default "bar" $.Site.Params.foo
.README.md
so the demo page does
not have broken links.preserveTaxonomyNames
to true for exampleSite/config.toml
(allows to spot bugs early from improper taxonomy handling).autoprefixer
and rollup
.dateFmt
(camelCase).dateFmt
not set) to RFC822.footer-content
CSS class to footer
.navigation
CSS class wrapping navigation-header
and
navigation-content
.path.Join
to construct URLs - This is more robust if any part
contains leading or trailing slashes.menu.meta
setting.header
class.navigation-content
container.
→ This allows a site to be completely without any navigation, only one
of both, or all of them.clearfix
CSS rule to prevent display issues with sites that only
use a subtitle as navigation
.exampleSite/config.toml
footer links.rollup
.CHANGELOG.md
file.autoprefixer
, postcss-discard-comments
, rollup
and rollup-plugin-postcss
.rollup-plugin-copy
with rollup-plugin-copier
.
The former package used deprecated build hooks from rollup
.postcss-advanced-variables
package from the build toolchain.
This allows proper linting of CSS files.trash-cli
package with del-cli
for the build toolchain.exampleSite/config.toml
.source-sans-pro
and source-serif-pro
fonts.autoprefixer
and rollup
.exampleSite/config.toml
.figure
tag is now centered on page..editorconfig
file.package.json
file for npm
.source-code-pro
, source-sans-pro
and
source-serif-pro
fonts.purecss
as css framework.rollup
,
postcss-import
, postcss-url
.hugo
templates).Tomorrow Night
color scheme for syntax highlighting.autoprefixer
,
postcss-discard-comments
, postcss-advanced-variables
.Tomorrow
color scheme.build-example.js
script to build exampleSite
locally (through node
).dev
, dist
, version
, etc…).exampleSite
to more recent versions.README.md
with current information.purecss
which are in use).<time>
tags.custom_head.html
Template.hugo
can do that using pygments
or chroma
).single.html
Template.rollup
now).Please have a look into the fork: Temple
And the fork of the fork: Nofancy