Axiom - A Hugo Theme. GitTip: https://gitcoin.co/tip?username=jhauraw
This release upgrades Tailwind CSS to v2, updates Alpine JS to latest, and upgrades the Tailwind CSS config file for v2.
What's New
Updates
This release updates Alpine JS and Tailwind CSS to the latest versions, and updates the Tailwind CSS config file in preparation for v2.0.
Updates
This release features Bootstrap style Responsive Tables CSS, Russian language localization, Button Shortcode id
attribute, and updates Alpine JS and Tailwind to latest versions.
What's New
<div class="table-responsive">
<table>
...
</table>
</div>
Updates
-ms-overflow-style
(c006443)id
to Button Shortcode. Allows user to set a custom id
on buttons (6a1a598)Fixes
This release has breaking changes (name-spacing Google service variables), a new Shopping Cart SVG icon, and new Google Tag Manager feature.
Breaking Changes
.params.services
services section were renamed. You'll need to update your Hugo Config file (config.toml
) with the new names. This was something that needed to be done, and since a new "minor-major" version number was next, it was time. (700a3b8)Here are the new variable names for the Google services:
googleAnalyticsId = ""
googleTagManagerId = ""
googleAdsId = ""
googleAdsenseId = ""
googleAdsenseAdSlotId = ""
googleAdsenseLoad = ""
googleAdsConversionId = ""
googleAdsConversionValue = 0
What's New
Updates
mt-9
to whitelist (6171852)Fixes
.lead
for specificity fixes (2c02959)This release adds new features Chromeless type
and layout
, Shortcodes summary
and page-resource
. Updates Alpine JS to latest version, and improves link colors for better accessibility.
What's New
type
and layout
. Display a Page without any "chrome", i.e., header or footer, only the .Content
data. This is useful for creating printable PDFs of a Page for download, or unwrapping a Page to iframe
on another website (a60c34e)Frontmatter example (toml):
+++
type = "chromeless"
# Optional custom chromeless layout, otherwise will use Single Page layout:
# layout = "custom-layout"
+++
summary
. Place a "summary" of a piece of Content anywhere, i.e., place a summary of a Page you want to highlight on the Homepage. Normally, this type of summary is just for a list like Recent Posts, but this Shortcode brings it to a single piece of Content (52e4684){{% summary "pages/company-event" %}}
page-resource
. Grab resources Page type resources from a Leaf Page Bundle and include them in Content. Similar to a headless-resource
, but specific to a single piece of Content like a Page (8e0a04d)A Page Leaf Bundle with a Page resource data-table.md
could be put inline:
{{% page-resource "data-table" %}}
# Or, if it's an .html file, using the other Shortcode escapes < and >:
{{< page-resource "data-table" >}}
Updates
blocks/section
: Remove margin-top default, add more customization options (eadcc3a)flex-1
class to whitelist. Make this Tailwind style available to users by default (66358a7)Fixes
.cdata
auto margin-top: Add override for mt-0 to allow user setting w/out !important. Since each child element of .cdata
gets a margin-top, setting mt-0
on an element wouldn't work due to specificity, this fixes that (1abb7cc)This release adds user customization of Page widths, Blockquote styling improvements, CSS helper classes, outline Button style, and Adsense code bug fix.
What's New
Customize Page and Template max widths! You can now specify page widths at a global or on a per page basis. This is useful if you have wider content needs for specific pages or posts. See the Docs Configuration and Frontmatter pages for more information (6f619b1), (fecb45d)
Outline Button style. Setting a Button type to base
will display an outline style Button. See the Docs Shortcodes page for more information (ca9b03e)
Additional CSS additions. Use the stretched-link
CSS class on links to fill a Card or similar component's area with a clickable link. Works the same as in Bootstrap's Cards. Use the lead
CSS class on a paragraph element to create a Marketing style lead paragraph (3072746)
Updates
Add extra parameter to toggle the cdata
class on the blocks/section
Shortcode (b6a2d3b)
Adjust Header element sizes. Slightly increase size of Header and elements inside for better mobile UX (72052d6)
Improvements to Blockquote CSS styling (48ca596)
Bug Fixes
Add safeHTML
filter on Content in the headless-resource
Shortcode (4d491d2)
Fix Adsense code, rename load style variable. Fix issue where the adsenseId
was not being output to snippet. Rename the Configuration Services parameter adsenseLazy
to adsenseLoad
to allow more loading options. See the Docs Configuration Services section and Features page for more information (c7c060c)
This release makes theme meta information work in any environment, specifically the themes.gohugo.io website, and changes to the default language code for better fallbacks.
Updates
defaultContentLanguage
to en
from en-us
(09f8bf9, c69c5c2)Upgrade Guide
config.toml
to match the Example project's Config file in this commit (marketempower/axiom-example@0a9bbb3)# config.toml
defaultContentLanguage = "en"
[languages]
[languages."en"]
weight = 1
languageName = "English"
This release fixes Atom feed validation due to Hugo internal changes in escaping, dedicated domain name updates, Twitter follow.
Updates
<link>
element to list of CSS no margin (b84787f)Fixes
This release gets a dedicated domain name and it's own website, remove Changelog.
What's New
Maintenance
This release introduces Disqus comments and includes some CSS improvements.
What's New
params.services
section, Frontmatter page, and Features page for details (c0e02aa)Improvements
<pre>
elements (016bb14)<script/style>
elements (9ec5979)