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

Corey White noreply at github.com
Tue Aug 4 12:23:49 PDT 2026


  Branch: refs/heads/baseof-conversion
  Home:   https://github.com/OSGeo/grass-website
  Commit: 7eb6610411b36866d39b7cd5e59bbbb9a3c2c5d5
      https://github.com/OSGeo/grass-website/commit/7eb6610411b36866d39b7cd5e59bbbb9a3c2c5d5
  Author: Corey White <smortopahri at gmail.com>
  Date:   2026-08-04 (Tue, 04 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: c042300dc43abd4390b1fa7765d926e02d51eed9
      https://github.com/OSGeo/grass-website/commit/c042300dc43abd4390b1fa7765d926e02d51eed9
  Author: Corey White <smortopahri at gmail.com>
  Date:   2026-08-04 (Tue, 04 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: 01a3feb31a9be1c47191242b17e0678846d4364d
      https://github.com/OSGeo/grass-website/commit/01a3feb31a9be1c47191242b17e0678846d4364d
  Author: Corey White <smortopahri at gmail.com>
  Date:   2026-08-04 (Tue, 04 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/e0a6d859a619...01a3feb31a9b

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