mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
hugolib: Implement "related content"
This closes #98, even if this commit does not do full content text search. We may revisit that problem in the future, but that deserves its own issue. Fixes #98
This commit is contained in:
@@ -63,6 +63,13 @@ func init() {
|
||||
[][2]string{},
|
||||
)
|
||||
|
||||
ns.AddMethodMapping(ctx.KeyVals,
|
||||
[]string{"keyVals"},
|
||||
[][2]string{
|
||||
{`{{ keyVals "key" "a" "b" }}`, `key: [a b]`},
|
||||
},
|
||||
)
|
||||
|
||||
ns.AddMethodMapping(ctx.In,
|
||||
[]string{"in"},
|
||||
[][2]string{
|
||||
|
Reference in New Issue
Block a user