Joe Mooring
Joe Mooring
@shiouen > using Webstorm I'm not a Webstorm user, but it seems like this would work: In VS Code with the [Go Template Support](https://marketplace.visualstudio.com/items?itemName=jinliming2.vscode-go-template) extension I do this: ```text "go-template.patterns":...
@shiouen I just installed Webstorm and the [Go Template plugin](https://plugins.jetbrains.com/plugin/10581-go-template/versions/stable). Then I went to Settings > Editor > File Types and removed `*.html` from the list of extensions associated with...
@shiouen This was surprising, and not in a good way: On the off chance that this was simply a UI limitation I created `my-project/.idea/filetypes.xml`... no joy. With respect to using...
Mastodon posts and PeerTube videos are pretty straightforward via their public APIs: ```text git clone --single-branch -b hugo-github-issue-13280 https://github.com/jmooring/hugo-testing hugo-github-issue-13280 cd hugo-github-issue-13280 hugo server ``` But Pixelfed's API requires an...
This mount is causing the problem: ```text [[module.mounts]] source = "content" target = "assets" ``` If you remove the above from your site configuration, the rebuild works as expected. I...
Failing test: ```go func TestRebuildIssue12838(t *testing.T) { t.Parallel() files := ` -- hugo.toml -- disableKinds = ['page','section','rss','sitemap','taxonomy','term'] [[module.mounts]] source = 'content' target = 'assets' -- layouts/index.html -- {{ .Content }}...
This [module](https://github.com/jmooring/hugo-module-archive) renders year/month/day archive pages (see [#448](https://github.com/gohugoio/hugo/issues/448)) using a content adapter. Since the content adapter doesn't have access to `.Site.Pages`, I used the `hugo list` command to populate a...
I have not thought this through, but I wanted to describe the concept... In a content adapter: 1. Outer loop: range through existing pages in the default language site. 2....
I'm not sure when this changed, but we do not "silently drop content" if the layout specified in front matter does not exist. Instead, we fallback to Hugo's defined lookup...
I've run into a few sites where site/theme authors intentionally use the `layout` field without any matching templates. They can do this because we exposed `.Page.Layout`, so they can do...