Skip to content

Migrate Jekyll _layouts to Hugo layouts/_default - #944

Merged
MakisH merged 7 commits into
precice:hugofrom
MuhammadAashirAslam:hugo-layouts-default
Aug 9, 2026
Merged

Migrate Jekyll _layouts to Hugo layouts/_default#944
MakisH merged 7 commits into
precice:hugofrom
MuhammadAashirAslam:hugo-layouts-default

Conversation

@MuhammadAashirAslam

@MuhammadAashirAslam MuhammadAashirAslam commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

This PR replaces the legacy Jekyll _layouts with standard Hugo equivalents (layouts/_default). During the port, I also cleaned up some of dead Javascript code (unused map/sidebar scripts) and fixed a bug where the footer was rendering twice on posts.

This establishes the baseline layout structure needed before migrating the actual content sections and shortcodes.

Also added the .gitignore entries for hugo

Short description of files:

  • layouts/_default/baseof.html: Provides the shared web document shell, redirects, navigation, sidebar, footer, analytics, and site scripts.
  • layouts/_default/list.html: Renders section pages with summaries, table of contents, edit metadata, compatibility-aware content, and child-page links.
  • layouts/_default/none.html: Provides a minimal layout for pages that only need compatibility-aware content rendering.
  • layouts/_default/page.html: Renders standard pages with summaries, metadata, tags, breadcrumbs, and translated legacy content.
  • layouts/_default/single.html: Renders individual content pages with summaries, metadata, tags, breadcrumbs, and translated legacy content.
  • layouts/partials/compat_content.html: Converts imported Jekyll callouts, inline includes, and site.* values into Hugo-renderable content.

@MakisH MakisH left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did a quick sanity check, here are some minor comments to consider; nothing blocking at the moment.

I cannot build the website at this state, it still needs #945 (and we should prioritize a CI workflow to test this on every PR).

Comment thread layouts/partials/compat_content.html
Comment thread layouts/partials/compat_content.html
Comment thread layouts/_default/baseof.html Outdated
@MakisH MakisH added the technical Technical issues on the website label Aug 6, 2026
@MakisH
MakisH merged commit 30740b3 into precice:hugo Aug 9, 2026
2 checks passed
@github-project-automation github-project-automation Bot moved this from Needs review to Done in GSoC 2026: Website modernization Aug 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

technical Technical issues on the website

Development

Successfully merging this pull request may close these issues.

2 participants