Skip to content

Releases: ldeso/hugo-flex

v1.3.0

16 Aug 11:53
Compare
Choose a tag to compare

Hugo Flex v1.3.0

This release completely removes client-side math rendering and replaces it with server-side math rendering, a new feature of Hugo v0.132.0. It is now possible to use this theme to build a mathematical blog without javascript!

This introduces a breaking change: the math shortcode must not include delimiters anymore, i.e. this:

{{% math %}}
Inline formulas such as $y=ax+b$ are supported, displayed formulas as well:
$$e^{i\pi}+1=0$$
{{% /math %}}

should be changed to:

Inline formulas such as {{< math >}}y=ax+b{{< /math >}} are supported, displayed formulas as well:
{{< math displayMode=true >}}
  e^{i\pi}+1=0
{{< /math >}}

This breaking change does not affect users that were already using the passthrough extension to render math globally. This functionality does not change, except that the old math parameter from the theme configuration/front matter does not exist anymore and is now entirely superseded by the config parameter markup.goldmark.extensions.passthrough.enable.

Diff from v1.2.2

New Feature

  • [BREAKING] Render math on the server side 704a749

Enhancements

  • Always include pubDate element in rss.xml a075eb6
  • Add hugo version to generator element in rss.xml 825012f

Note

  • Use $noop variables instead of with fb13948

v1.2.2

01 Jul 05:40
Compare
Choose a tag to compare

Hugo Flex v1.2.2

This release fixes a bug introduced in v1.2.1 where the fingerprint of the resource base.css was missing in the XML file used to format RSS pages, resulting in XML parsing errors.

Diff from v1.2.1

Bug Fix

  • Fix missing base.css integrity in RSS pages 4e62467

v1.2.1

29 Jun 12:09
Compare
Choose a tag to compare

Hugo Flex v1.2.1

This release fixes a bug introduced in v1.1.0 where base resources such as base.css would be minified and fingerprinted twice, resulting in very long file names (#38).

Diff from v1.2.0

Bug Fix

  • Fix redundant processing of base resources (#38) 2884c07

Notes

  • Use Apache License without modification a35020f
  • Update tested Hugo versions in README.md 1f6276f

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