Joe Mooring

Results 602 comments of Joe Mooring

In your notes.... > Local references gets resolved in /assets: References starting with a / resolves from the /assets root, others relative to the importer, e.g. /assets/api in the example...

Works for me. Thanks.

An easy workaround for this limitation is a tool called miller. other/foo.csv ``` "field_1","field_2" "foo","bar" "wibble","wubble" ``` ```bash mlr --c2j --jlistwrap cat other/foo.csv > data/foo.json ``` data/foo.json ``` [ {...

Use case: ``` {{ $author := where site.Data.authors "id" "foo" }} ``` With CSV as the data source, we either need to: a) Provide a mechanism to specify [unmarshal options](https://gohugo.io/functions/transform.unmarshal)...

You can do this now with a conditional in layouts/baseof.html. Here's an example: ```bash git clone --single-branch -b hugo-github-issue-9774 https://github.com/jmooring/hugo-testing hugo-github-issue-9774 cd hugo-github-issue-9774 npm install hugo -E && hugo npx...

To resolve link and image destinations, use link and image render hooks. We may build something in at some point: Please raise an issue on the forum (https://discourse.gohugo.io/) if you...

As a follow up, I would love to see the `canonifyURLs` eliminated, but I think that ship has sailed. The `relativeURLs` setting is still needed, though rarely, to make a...

We'll handle this in documentation. https://github.com/gohugoio/hugoDocs/issues/3036#issuecomment-2819089583, specifically Method 4.

Without the year, the week returned can be misleading. Date|ISO Week --:|--: 1 Jan 2012|52 2 Jan 2012|1 30 Dec 2012|52 31 Dec 2012|1 Which means sorting and grouping will...

I know this is not what you are asking for, but it might be helpful. ``` {{ with .Resources.Get "a.jpg" }} {{ (os.Stat .Key).ModTime }} {{ end }} ```