Joe Mooring
Joe Mooring
I'm not convinced we have to document this (the previous behavior was undocumented/lucky), but this no longer works (and that's fine): ```text {{- with .Params.blocks }} {{- range . }}...
@bep Please confirm. Going forward, when defining and calling inline partials, one should do this: ```text {{ partial "foo.html" }} {{ define "_partials/foo.html" }} FOO {{ end }} ``` instead...
Of the [extension options](https://github.com/yuin/goldmark#built-in-extensions) that are not configurable, only one has any meaningful value by simply _exposing_ it: `WithFootnoteBacklinkHTML`. This would allow you to change the back arrow below into...
@taxilian Use a [table render hook](https://gohugo.io/render-hooks/tables/). Example:
Renaming issue from: > goldmark: Add options footnote.BacklinkHTML, table.ClassCellLeft, table.ClassCellCenter, table.ClassCellRight To: > markup/goldmark: Enhance footnote extension with backlinkHTML option The ability to use classes instead of inline styles for...
With `inline_anchor.html.handlebars` as the converter template... ```text require 'fileutils' FileUtils.rm("/home/jmooring/temp/test-a.txt") {{ text }} ``` ...the file is not deleted (that's a good thing). How can I delete the file from...
Before adding the `--template-dir` CLI flag, we reject the directory if it contains any files with extensions other than `.handlebars`. Is that sufficient to mitigate this vulnerability?
@ggrossetie If we reject a `--template-dir` path when it contains anything other than `.handlebars` files, is there any other way that someone can execute arbitrary code?
> What do you mean by "reject"? In Hugo's configuration file, the user would provide an array of converter template directory paths. Before passing those paths as `--template-dir` flag/value pairs,...
I've used this construct before: ```text {{ or (T "key") "default" }} ``` But keep in mind that neither the `--printI18nWarnings` flag nor the `enableMissingTranslationPlaceholders` configuration setting care if you...