[GRASS-git] [OSGeo/grass-website] 277c59: Templates: real base template, convert home, 404, ...

Corey White noreply at github.com
Thu Aug 6 20:14:56 PDT 2026


  Branch: refs/heads/baseof-conversion
  Home:   https://github.com/OSGeo/grass-website
  Commit: 277c59d7c9c7aca0d6a186349a02130d07c51f98
      https://github.com/OSGeo/grass-website/commit/277c59d7c9c7aca0d6a186349a02130d07c51f98
  Author: Corey White <smortopahri at gmail.com>
  Date:   2026-08-06 (Thu, 06 Aug 2026)

  Changed paths:
    M themes/grass/layouts/404.html
    M themes/grass/layouts/_default/baseof.html
    M themes/grass/layouts/_default/list.html
    M themes/grass/layouts/_default/single.html
    M themes/grass/layouts/index.html
    A themes/grass/layouts/partials/head/analytics.html
    A themes/grass/layouts/partials/head/assets.html
    A themes/grass/layouts/partials/head/favicons.html
    A themes/grass/layouts/partials/head/meta.html
    A themes/grass/layouts/partials/page-header.html
    A themes/grass/layouts/partials/prev-next.html
    A themes/grass/layouts/partials/scripts.html
    A themes/grass/layouts/partials/sidebar-menu.html
    A themes/grass/layouts/partials/site-footer.html

  Log Message:
  -----------
  Templates: real base template, convert home, 404, and _default

baseof.html now owns the document scaffolding (doctype, head, body,
header block, main landmark, footer, scripts) through new head/*,
page-header, site-footer, and scripts partials. Pages define header
and main blocks. single.html's colliding define menu / define
pagination become the sidebar-menu and prev-next partials.
Output change is limited to the new <main id=content> landmark.


  Commit: b01efd6f64b193e54d43a5a3ddecb5ffab5b9db3
      https://github.com/OSGeo/grass-website/commit/b01efd6f64b193e54d43a5a3ddecb5ffab5b9db3
  Author: Corey White <smortopahri at gmail.com>
  Date:   2026-08-06 (Thu, 06 Aug 2026)

  Changed paths:
    M themes/grass/layouts/_default/baseof.html
    M themes/grass/layouts/about/brand.html
    M themes/grass/layouts/about/community-map.html
    M themes/grass/layouts/about/credits.html
    M themes/grass/layouts/about/general.html
    M themes/grass/layouts/about/governance.html
    M themes/grass/layouts/about/list.html
    M themes/grass/layouts/about/overview.html
    M themes/grass/layouts/about/roadmap.html
    M themes/grass/layouts/about/team.html
    M themes/grass/layouts/about/theme.html
    M themes/grass/layouts/about/timeline.html
    M themes/grass/layouts/contribute/contribute.html
    M themes/grass/layouts/contribute/devel.html
    M themes/grass/layouts/contribute/general.html
    M themes/grass/layouts/contribute/list.html
    M themes/grass/layouts/download/addons.html
    M themes/grass/layouts/download/data.html
    M themes/grass/layouts/download/single.html
    M themes/grass/layouts/download/tabs.html
    M themes/grass/layouts/events/allevents.html
    M themes/grass/layouts/events/event.html
    M themes/grass/layouts/learn/books.html
    M themes/grass/layouts/learn/gallery.html
    M themes/grass/layouts/learn/general.html
    M themes/grass/layouts/learn/list.html
    M themes/grass/layouts/learn/manuals.html
    M themes/grass/layouts/learn/overview.html
    M themes/grass/layouts/news/allnews.html
    M themes/grass/layouts/news/news.html
    M themes/grass/layouts/partials/footer.html
    R themes/grass/layouts/partials/head.html
    A themes/grass/layouts/partials/sidebar-menu-contribute.html
    A themes/grass/layouts/partials/sidebar-menu-download.html
    R themes/grass/layouts/partials/site-footer.html
    M themes/grass/layouts/sponsor/donate.html
    M themes/grass/layouts/support/commercial.html
    M themes/grass/layouts/support/community.html
    M themes/grass/layouts/support/support.html

  Log Message:
  -----------
  Templates: convert all remaining page templates to the base template

Mechanical conversion of 34 templates: the repeated header stanza
becomes page-header options (or a header block override for the pages
whose banner sits outside the header), bodies wrap in define main, and
head.html is deleted. download and contribute sidebars move to their
own partials, ending the parse-order collision between three global
define menu templates. Side effects, all verified in the output diff:
contribute-layout pages render their own sidebar variant again,
roadmap's stray closing tags after the footer are gone, and theme's
unclosed fixed-top div is closed.


  Commit: e20b44da9f13d6b512ea3f48efa9056f0480be4d
      https://github.com/OSGeo/grass-website/commit/e20b44da9f13d6b512ea3f48efa9056f0480be4d
  Author: Corey White <smortopahri at gmail.com>
  Date:   2026-08-06 (Thu, 06 Aug 2026)

  Changed paths:
    M themes/grass/layouts/partials/sidebar-menu.html

  Log Message:
  -----------
  Fix sidebar-menu File scoping for current Hugo

The tree item rendered inside unclosed 'with .File' blocks, so
.IsAncestor executed against the File object; old Hugo shimmed that,
current Hugo errors. Close the scopes and compare RelPermalink.
0.113 output is unchanged.


Compare: https://github.com/OSGeo/grass-website/compare/01a3feb31a9b...e20b44da9f13

To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass-website/settings/notifications


More information about the grass-commit mailing list