We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 932e282 commit f096635Copy full SHA for f096635
modules/markup/html.go
@@ -852,7 +852,9 @@ func fullIssuePatternProcessor(ctx *RenderContext, node *html.Node) {
852
}
853
854
func issueIndexPatternProcessor(ctx *RenderContext, node *html.Node) {
855
- if ctx.Metas == nil || ctx.Metas["mode"] == "document" {
+ // FIXME: the use of "mode" is quite dirty and hacky, for example: what is a "document"? how should it be rendered?
856
+ // The "mode" approach should be refactored to some other more clear&reliable way.
857
+ if ctx.Metas == nil || (ctx.Metas["mode"] == "document" && !ctx.IsWiki) {
858
return
859
860
var (
0 commit comments