惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
V2EX
小众软件
小众软件
GbyAI
GbyAI
B
Blog RSS Feed
月光博客
月光博客
A
About on SuperTechFans
Microsoft Security Blog
Microsoft Security Blog
Blog — PlanetScale
Blog — PlanetScale
U
Unit 42
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
Recent Announcements
Recent Announcements
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Vercel News
Vercel News
F
Fortinet All Blogs
Apple Machine Learning Research
Apple Machine Learning Research
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
雷峰网
雷峰网
Google DeepMind News
Google DeepMind News
MongoDB | Blog
MongoDB | Blog
Engineering at Meta
Engineering at Meta
aimingoo的专栏
aimingoo的专栏
博客园_首页
G
Google Developers Blog

HUGO - Latest topics

ExampleSite and Tailwind Introducing Stacknote — an editorial Hugo theme for technical blogs Impressed returning to Hugo! How to associate / connect between content files (md) and data files Multilingual links have changed Hugo's modular configuration syntax and strict validation are still in conflict Executing Hugo builds inside of Go with a custom config? "Hero Images" on website's front page only (with carousell - rotates several images) Menu nesting doesn't work, hugo v0.165.0 (ananke theme, but maybe others work?) How to mount a node_modules folder? How to deal with image processing failures when updating to 0.165.0? Question about the multi-dimensional content model Is there any other base template Post-processing of file types? (Automatic SVG text-to-path) What is the standard way to make page bundle images show up in a full text RSS feed? Hugo/Netlify config for google recaptcha keys Website Builds Successfully but Published Pages Continue Serving Outdated Generated Content Changed /content/posts to /content/post, gives a 404 page and old theme I uninstalled is used. Also localhost:1313 was used instead of BaseURL in /content/posts Please for arbitrary parameters to pandoc Sheating a document with a frontmatter Hugo v0.165.0 released Related Posts Based on Heading Best practice for preserving archive pages? Does asciidoctor needs a themes folder Adding application/json resources to Content Adapter pages Multilingual menus with ananke theme Framed, dual-theme code blocks for any Hugo site, applied post-build (no theme changes) Images have wrong links in Table of contents (hugo-book) Collect sidebar elements from modules Starless - for seldom updated blogs
Validation for links <a href="#xyz"> to anchors <a id="xy...
@dimitris Dimitris · 2026-08-16 · via HUGO - Latest topics

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:...