v2.0.0
In this update, it'll be a major rebranding of the theme from its core appearance up to its philosophy which is minimalism and letting you bloat your site.
To reflect the major change, the theme has been renamed from "Terminal Plus-Minus" to "Arch Terminal".
Added
- Multilingual mode support.
Thus, thei18n
folder is now added.
For now, the translation is only available for English (US) and Tagalog.
If you know some language that is not listed in the folder, feel free to contribute translating to other languages. - Add asset fingerprinting to the theme assets.
- Add user-configured libraries list to add to your Hugo site.
- Add quick taxonomy search list.
The feature was inspired from this site. - Add a CDN-less MathJax usage option as
params.useLocalMathjax
.
(Only works for MathJax v3.) - Add custom messages for the 404 page.
Thus, the following site custom parameters has been added:params.notFoundHeader
params.notFoundLinkMessage
params.notFoundMessage
- Add a custom message option for the search widget label by
params.searchLabel
. - Add content headers (similar to LaTeX counters) with the
params.useContentCounters
option. - Add a reader mode for your content with
params.enableContentReaderMode
. - Add a compact list mode for the homepage post list with
params.enableCompactListMode
. - Add a "Back to top" button on the footer with
params.enableBackToTopLink
. - Add JSON+LD schema.
It is disabled by default so you have to manually switch theparams.enableJsonLdSchema
first. - Add a image zoom feature (using medium-zoom library) that can be
switched withparams.enableContentImageZoom
.
You can also set the background color withparams.setContentImageZoomBackground
.
Removed
- Remove the custom fonts and let the user customize their own.
This also improves the performance of the base theme.
Changed
- IMPORTANT: Rename the theme from "Terminal Plus-Minus" to "Arch Terminal" along
with a slight rebrand. - IMPORTANT: Content pagination is now disabled by default.
In effect, an additional site config optionparams.enableContentPagination
has
been added. - BREAKING CHANGE: Invert the setting to hide the posts instead of showing posts
manually.
Thus,params.showPostsOnHome
have been replaced withparams.hidePostsOnHome
. - BREAKING CHANGE: Update the layout code for the breaking changes at Hugo v0.58.0.
Thus, the theme now requires Hugo v0.58.0. - BREAKING CHANGE: Change
params.enableSyntaxHighlighting
to
params.enableLazySyntaxHighlighting
. - BREAKING CHANGE: Remove
params.setMathjaxToV3
to be replaced with
params.setMathjaxToV2
since the theme will now use MathJax v3 by default. - Revise MathJax support (again) with the v2 replaced to v3 as the
default MathJax version since MathJax v3 got the official production release. - Update the stylesheet to consider consistent and pleasant typography.
One of the biggest change is the consideration of
vertical rhythms and the absence of
the custom styles. - Twitter cards and OpenGraph schema are now disabled by default and has to be
enabled withparams.enableTwitterCard
andparams.enableOpenGraphSchema
respectively.
Fixed
- Update the SCSS load order to make the automatic second theming work.
(I forgot that SCSS variables are imperative, not declarative.) - Make the external scripts to run asynchronously to prevent DOM blocking and
improve the performance of the site.