diff --git a/aio/content/marketing/test.html b/aio/content/marketing/test.html new file mode 100644 index 0000000000..2e47ce34da --- /dev/null +++ b/aio/content/marketing/test.html @@ -0,0 +1,80 @@ +

Test Code Page

+ +

<code-tabs>

+ +

No linenums at code-tabs level

+ + class { + foo(param: string) {} + } + <h1>Heading</h1> + { "key": "value" } + +

+ +

linenums=true at code-tabs level

+ + class { + foo(param: string) {} + } + <h1>Heading</h1> + { "key": "value" } + +

+ +

No linenums at code-tabs level; linenums=true for HTML pane

+ + class { + foo(param: string) {} + } + <h1>Heading</h1> + { "key": "value" } + +

+ +

<code-example>

+ +

One line.

+const foo = 'bar' + +

Multi-line, linenums=false.

+ +<hero-details nghost-pmm-5> + <h2 ngcontent-pmm-5>Bah Dah Bing</h2> + <hero-team ngcontent-pmm-5 nghost-pmm-6> + <h3 _ngcontent-pmm-6>Headless Team</h3> + </hero-team> +</hero-details> + + +

Default linenums.

+ +<hero-details nghost-pmm-5> + <h2 ngcontent-pmm-5>Mister Fantastic</h2> + <hero-team ngcontent-pmm-5 nghost-pmm-6> + <h3 _ngcontent-pmm-6>Headless Team</h3> + </hero-team> +</hero-details> + + +

Header on this one.

+ + <hero-details nghost-pmm-5> + <h2 ngcontent-pmm-5>Mister Fantastic</h2> + <hero-team ngcontent-pmm-5 nghost-pmm-6> + <h3 _ngcontent-pmm-6>Winning Team</h3> + </hero-team> + </hero-details> + + +

An "avoid" header on this one.

+ + <hero-details nghost-pmm-5> + <h2 ngcontent-pmm-5>Mister Fantastic</h2> + <hero-team ngcontent-pmm-5 nghost-pmm-6> + <h3 _ngcontent-pmm-6>Losing Team</h3> + </hero-team> + </hero-details> + + +

More text follows ...

\ No newline at end of file diff --git a/aio/transforms/templates/content.template.html b/aio/transforms/templates/content.template.html index 8546da54e4..6d7ecdbd6e 100644 --- a/aio/transforms/templates/content.template.html +++ b/aio/transforms/templates/content.template.html @@ -1,2 +1,2 @@ -

{$ doc.title $}

+{% if doc.title %}

{$ doc.title $}

{% endif %} {$ doc.description | marked $} \ No newline at end of file