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

Corey White noreply at github.com
Tue Aug 4 12:22:32 PDT 2026


  Branch: refs/heads/baseof-conversion
  Home:   https://github.com/OSGeo/grass-website
  Commit: dee76dd9e5c32987b31ba52b91745cdac4857707
      https://github.com/OSGeo/grass-website/commit/dee76dd9e5c32987b31ba52b91745cdac4857707
  Author: Corey White <smortopahri at gmail.com>
  Date:   2026-08-03 (Mon, 03 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: 26849fcdc1cc7dd78181bfcc83d8d5087a487d2d
      https://github.com/OSGeo/grass-website/commit/26849fcdc1cc7dd78181bfcc83d8d5087a487d2d
  Author: Corey White <smortopahri at gmail.com>
  Date:   2026-08-03 (Mon, 03 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: e0a6d859a61990264567522eb0ae67d7a48d7ff5
      https://github.com/OSGeo/grass-website/commit/e0a6d859a61990264567522eb0ae67d7a48d7ff5
  Author: Corey White <smortopahri at gmail.com>
  Date:   2026-08-03 (Mon, 03 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/dee76dd9e5c3%5E...e0a6d859a619

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