Skip to content

Rename layout fragment to include _td- prefix and move file

Problem

Any page that uses the /layouts/_default/content.html template is unable to render recent code changes, specifically related to the recent date: frontmatter addition in MR !272 (merged).

Root Cause

Docsy and Hugo were recently updated to new versions. Per Docsy issue 2243 tasks we need to add the _td- prefix to the default content.html layout template. This file also needs to be moved out of _default and into the root layouts directory.

Solution

The content.html template was renamed to _td-content.html and moved into the root layouts directory.

CleanShot_2025-10-09_at_12.20.17_2x

Testing and Validation

Changes were made locally and validated against live theme.

Validation

Before (live theme)

CleanShot_2025-10-09_at_12.11.10_2x

After (locally)

CleanShot_2025-10-09_at_12.11.31_2x

With date: Frontmatter Addition

---
title: Underperformance
description: We want team members to be successful and should offer every opportunity for them to work effectively.
date: 2025-10-08
---

CleanShot_2025-10-09_at_12.21.16_2x

  • Rename layout fragment to include _td- prefix and move file

Author and Reviewer Checklist

Please verify the check list and ensure to tick them off before the MR is merged.

  • Provided a concise title for this Merge Request (MR)
  • Added a description to this MR explaining the reasons for the proposed change, per say why, not just what
    • Copy/paste the Slack conversation to document it for later, or upload screenshots. Verify that no confidential data is added, and the content is SAFE
  • Assign reviewers for this MR to the correct Directly Responsible Individual/s (DRI)
  • For transparency, share this MR with the audience that will be impacted.
    • Team: For changes that affect your direct team, share in your group Slack channel
    • Department: If the update affects your department, share the MR in your department Slack channel
    • Handbook: For changes that affect handbook users, but does not need company-wide attention, post in the #handbook Slack channel
    • Company: If the update affects all (or the majority of) GitLab team members, post an update in #whats-happening-at-gitlab linking to this MR

Edited by Matt Pensworth

Merge request reports

Loading