Skip to content

Releases: ldeso/hugo-flex

v1.2.0

24 Apr 12:05
Compare
Choose a tag to compare

Hugo Flex v1.2.0

This release slightly modifies the HTML outline to be more respectful of the HTML5 specification, and adds support for automatic rendering of mathematical formulas using the passthrough extension introduced in Hugo 0.122.0. This means that when the math parameter is set to true, it is no longer necessary to enclose mathematical formulas in a shortcode to render them. It is still possible to use the built-in math shortcode for backwards compatibility.

Diff from v1.1.0

New Feature

  • Add math rendering without shortcodes 89477a1

Enhancements

  • Update default KaTeX version 14b3e64
  • Revert "Use site title as h1 that was missing from outline" c145005
  • Use h1 for page titles and article titles 1d36d8e
  • Do not use redundant article element b5b468a

Bug Fix

  • Show content from _index.md on homepage (#37) 0711642

Notes

  • Use direct link to licence in README.md 06a0093
  • Simplify code in render-heading.html e6d3b5d
  • Update tested Hugo versions in README.md 3c392eb

v1.1.0

19 Jan 10:35
Compare
Choose a tag to compare

Hugo Flex v1.1.0

This release brings a couple of new features to the theme inspired from the default site example that is obtained by running the commands hugo new site and hugo new theme. The theme can now also be installed as a Hugo Module.

Diff from v1.0.4

New Features

  • Do not minify/fingerprint assets in development 843c484
  • Provide a full "hugo.yaml" configuration example 2daadb7

Enhancement

  • Use time.Format function instead of .Format method 01ad7fd

Bug Fix

  • Only prevent repeated title on home page 2a2e0d0

Notes

  • Use direct link to license in theme.toml 71968c8
  • Rename variable $taxonomy to $term 33333eb
  • Use a horizontal bar as the default divider ede5fb7

v1.0.4

08 Jan 10:45
Compare
Choose a tag to compare

Hugo Flex v1.0.4

This release fixes the problem that the markdown contained by the math shortcode could not be rendered (#36).

It is now possible to call the math shortcode:

  1. Either with % as the outermost delimiter so that the shortcode's inner content will be fully rendered when sent to the content renderer:

    {{% math %}}
    Here is [a link](https://github.com/ldeso/hugo-flex). By the way, $1 + 1 = 2$.
    {{% /math %}}
  2. Or with the < character, to indicate that the shortcode's content does not need further rendering (this was already possible prior to this release and does not change):

    {{< math >}}
    <p>
      Here is <a href="https://github.com/ldeso/hugo-flex">a link</a>. By the way, $1 + 1 = 2$.
    </p>
    {{< /math >}}

Diff from v1.0.3

Bug Fix

  • Allow calling math shortcode with markdown (#36) 1c11add
  • Update math rendering example 46899dc

Notes

  • Add pointer cursor to Soundcloud button df0662c
  • Update README.md 16a8dac

v1.0.3

31 Dec 09:06
Compare
Choose a tag to compare

Hugo Flex v1.0.3

This release allows using the pageRef property for menu entries that reference internal pages in other formats than HTML, such as RSS feeds. This is noted as a bug fix because, as stated in issue #31, the pageRef property is required for menu entries pointing to internal pages of the website.

Diff from v1.0.2

Bug Fixes

  • Allow pageRef with outputFormat for internal links 0b8cacc
  • Remove title in link to alternative output format 06fc6d1

Notes

  • Use same code as link.html in rss.xml 5e07650

v1.0.2

29 Dec 14:45
Compare
Choose a tag to compare

Hugo Flex v1.0.2

This release fixes a small problem in recent mobile browsers, where pages that didn't have a lot of content were nevertheless too large to fit the viewport height and required the user to scroll to see the footer.

Diff from v1.0.1

Bug Fix

  • Fix min-height too large in mobile browsers (#35) 725dd09

v1.0.1

28 Dec 13:35
Compare
Choose a tag to compare

Hugo Flex v1.0.1

This release fixes an inconsistency when the site is displayed in Chrome for Android and enhances the SoundCloud player shortcode.

Diff from v1.0.0

Bug Fix

  • Disable Chrome font boosting in footer (#34) 213c7b8

Enhancements

  • Use <button> element in SoundCloud shortcode (#33) d4c383e
  • Display the SoundCloud URL when JS is disabled ab2eddd

v1.0.0

21 Dec 09:42
Compare
Choose a tag to compare

Hugo Flex v1.0.0

The theme is now relatively feature-complete and bug-free. It is time to tag an initial release.

Diff from last month

Note

  • [BREAKING] Rename menu.nav to menu.main 3b4b023