Renders the shortcode content if the specified key equals a given value (or is true).
- Namespace
- Statiq
.Core - Interfaces
- Base Types
-
- object
- SyncShortcode
graph BT
Type-->Base0["SyncShortcode"]
click Base0 "/api/Statiq.Common/SyncShortcode"
Base0-->Base1["object"]
Type-.->Interface0["IShortcode"]
click Interface0 "/api/Statiq.Common/IShortcode"
Type["IfShortcode"]
class Type type-node
Syntax
public class IfShortcode : SyncShortcode, IShortcode
Methods
Name | Return Value | Summary |
---|---|---|
Execute |
ShortcodeResult |