ObsidianのためにHugoのエイリアス機能を無効化する
ObsidianのためにFrontMatterのaliasesを追加した場合、Hugoのエイリアス機能が意図しない動作になるケースがあった。disableAliasesをtrueに設定してエイリアス機能を無効化した。
disableAliases (
bool) Will disable generation of alias redirects. Note that even ifdisableAliasesis set, the aliases themselves are preserved on the page. The motivation with this is to be able to generate 301 redirects in an.htaccess, a Netlify_redirectsfile or similar using a custom output format. Default isfalse.