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

推荐订阅源

博客园_首页
量子位
D
DataBreaches.Net
博客园 - 司徒正美
J
Java Code Geeks
博客园 - 【当耐特】
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
aimingoo的专栏
aimingoo的专栏
B
Blog
The Cloudflare Blog
D
Docker
I
InfoQ
爱范儿
爱范儿
MongoDB | Blog
MongoDB | Blog
腾讯CDC
月光博客
月光博客
Hugging Face - Blog
Hugging Face - Blog
Microsoft Azure Blog
Microsoft Azure Blog
Vercel News
Vercel News
阮一峰的网络日志
阮一峰的网络日志
小众软件
小众软件
S
SegmentFault 最新的问题
GbyAI
GbyAI
有赞技术团队
有赞技术团队

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 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 Validation for links <a href="#xyz"> to anchors <a id="xyz"> in the same page 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
Post-processing of file types? (Automatic SVG text-to-path)
@irkode · 2026-08-24 · via HUGO - Latest topics

Is there any way to modify (post-process?) a certain kind of file (by file extension) each time Hugo builds? Here is my problem: Using custom fonts in SVG files famously does not work. One workaround to this problem is to convert each text element to a path. This means that I have to have two copies of each SVG file: the source file, which retains text elements intact, and the target file, in which text elements have been replaced with paths Obviously, the best way to achieve this would be...