Paginate.

WithPageMetadata(string, DocumentConfig) Method

Summary

Adds the specified metadata to each page index document. This must be performed within the paginate module. If you attempt to process the page index documents from the paginate module after execution, it will "disconnect" metadata for those documents like Wyam.Common.Meta.Keys.NextPage since you're effectivly creating new documents and the ones those keys refer to will be outdated.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Modules.Control
Containing Type
Paginate

Syntax

public Paginate WithPageMetadata(string key, DocumentConfig metadata)

Parameters

Name Type Description
key string The key of the metadata to add.
metadata DocumentConfig A delegate with the value for the metadata.

Return Value

Type Description
Paginate The current module instance.
GitHub