Joe Mooring

Results 604 comments of Joe Mooring

I just tested `resources.Copy` with a fingerprinted file, and it retains the hash in the name. That is, at least for me, unexpected. For example: ```text {{ resources.Copy "js/app.js" ....

My point with `crypto.FNV32a` was that you can eliminate 5 lines of code. This has nothing to do with the extension.

Also see for access to the extension. I'm also going to log an issue against `resources.Copy`, which may be rejected, but it seems to me if I say "copy to...

Finally, there's an intentionally undocumented method `.Key` which will give you the extension you want, but there is no API promise on this. This is a cache key that just...

@Seirdy With this approach you don't have an SRI hash. If you don't fingerprint, the resource's `.Data.Integrity` is nil. This issue is about short fingerprints in conjunction with fingerprinting.

For symmetry (sort of) with `useResourceCacheWhen`, perhaps rename to `useEmbedded`? ```toml [markup.goldmark.renderHooks.image] useEmbedded = 'auto' # one of auto, never, always, or fallback. Default is auto. [markup.goldmark.renderHooks.link] useEmbedded = 'auto'...

No, not added... this issue is still open. If you are using a simple (no pluralization rules) translation table, you can mount the i18n directory to the data directory. i18n/en.toml...

> if there is a table in a valid table in a markdown file I'm not sure what that means. It would be helpful if you could provide a reproducible...

I am unable to reproduce the problem as described: ```text git clone --single-branch -b hugo-github-issue-13351 https://github.com/jmooring/hugo-testing hugo-github-issue-13351 cd hugo-github-issue-13351 hugo server ``` So there's obviously something different about your site.