











I’m trying to include validation for internal links (i.e. within the site) in the link render hook. Basically to make Hugo throw a warning upon building, if there is a mistyped link. It works mostly fine, but I get a false positive case, see below: Link to same page: clean (no warning) Correct link to other page: clean Wrong link: warning Correct link to other page heading: clean Wrong link to other page heading: warning Correct link to same page heading: clean Wrong link to same page heading:...
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。