Markdown versions of all docs pages are available by appending .md to any docs URL.
downstream
Drops its body in the upstream build and keeps it downstream
Either call form works, and both produce identical HTML.
Parameters
This shortcode takes no parameters.
Example
{{% downstream %}}
This paragraph appears in the enterprise docs and nowhere else.
{{% /downstream %}}Rendered output
Notes
The mirror of upstream; see that file for the full description of the
split and the percent-form requirement. This template always discards its
body. It becomes visible downstream because the source filters UNWRAP the
block textually — removing the tags and keeping the inner content — before
this template would ever run. Those filters live in rebase.html (Stage 3b)
and reuse.html, covering both the directly-rebased file and one reached
through any depth of reuse.
.Inner is assigned to a throwaway variable rather than simply left
unreferenced. Touching it forces Hugo to parse the body, so a malformed
shortcode call inside a downstream block still fails the upstream build
instead of being silently skipped until someone builds downstream.