Skip to content

fix: deprecated .Language.LanguageDirection with .Language.Direction - #135

Closed
saurabhraghuvanshii wants to merge 2 commits into
layer5io:masterfrom
saurabhraghuvanshii:lang
Closed

fix: deprecated .Language.LanguageDirection with .Language.Direction#135
saurabhraghuvanshii wants to merge 2 commits into
layer5io:masterfrom
saurabhraghuvanshii:lang

Conversation

@saurabhraghuvanshii

Copy link
Copy Markdown
Member

Notes for Reviewers

This PR fixes #

Signed commits

  • Yes, I signed my commits.

Signed-off-by: saurabhraghuvanshii <saurabhsraghuvanshi@gmail.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new Hugo partial layouts/_partials/head-css.html to process and load main SCSS/CSS files, including RTL support and production minification. The review feedback recommends replacing the deprecated .Site.Language with .Language.Direction to prevent deprecation warnings in newer Hugo versions.

Comment thread layouts/_partials/head-css.html

@Oluwatunmise-olat Oluwatunmise-olat left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tested locally, this fixes the Language.LanguageDirection deprecation warning. LGTM.

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for PR #135 removed.

This PR preview was automatically pruned because we keep only the 6 most recently updated previews on GitHub Pages to stay within deployment size limits.

If needed, push a new commit to this PR to generate a fresh preview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants