[Git-commits] [grml/grml.org] fc4023: Use site-wide current_version parameter

Chris Hofstaedtler noreply at github.com
Wed Dec 11 01:04:37 CET 2024


  Branch: refs/heads/master
  Home:   https://github.com/grml/grml.org
  Commit: fc402396f7a8038df2f86cf3b865c85cfae42499
      https://github.com/grml/grml.org/commit/fc402396f7a8038df2f86cf3b865c85cfae42499
  Author: Chris Hofstaedtler <ch at grml.org>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

  Changed paths:
    M content/_index.md
    M content/bugs/known/index.md
    M content/changelogs/_index.md
    M content/download/_index.md
    M content/download/prerelease/index.md
    M content/faq/_index.md
    M content/files/_index.md
    M hugo.yaml
    A layouts/shortcodes/if_have_prerelease.html
    A layouts/shortcodes/param_opt.html
    A layouts/shortcodes/require_release_update.html

  Log Message:
  -----------
  Use site-wide current_version parameter

Stop hard-coding the current release version in each page, instead define
current release and prerelease versions in hugo.yaml.
Pages needing manual updates are tagged and cause a build error until
the version number is bumped.

Pre-release links are shown if a pre-release version is available. Otherwise
the links vanish; the download page is mostly hidden and points to the stable
download page.

Per-release file list gets autogenerated. Links to dpkg.selections have been
dropped, as all the info is available in dpkg.list.



To unsubscribe from these emails, change your notification settings at https://github.com/grml/grml.org/settings/notifications


More information about the Git-commits mailing list