Skip to content

Commit

Permalink
fix: remove deprecated custom lang param (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterschewe authored Jun 23, 2024
1 parent d756b30 commit a2bd437
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/cssg-plugin-hugo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,10 @@ export default (args) => {
const { code, name: languageName } = locale;

const languageCode = code;
const [languageNameShort] = languageCode.split('-');

const localeConfig = {
languageCode,
languageName,
languageNameShort,
weight: locale.default ? 1 : 2,
};

Expand Down

0 comments on commit a2bd437

Please sign in to comment.