Skip to content

Commit 7a295f4

Browse files
authored
Update template.md
1 parent a604594 commit 7a295f4

File tree

1 file changed

+5
-6
lines changed
  • tests/dummy/app/pods/docs/components/docs-header

1 file changed

+5
-6
lines changed

tests/dummy/app/pods/docs/components/docs-header/template.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@ A header that gives you an easy autogenerated logo via the <code>logo</code> and
1010
{{demo.snippet 'docs-header.hbs'}}
1111
{{/docs-demo}}
1212

13-
You can also pass in a block to render your own logo.
13+
You can render additional header links using the `header.link` yielded component:
1414

1515
{{#docs-demo as |demo|}}
1616
{{#demo.example name='docs-header-custom-logo.hbs'}}
17-
{{#docs-header githubUrl='https://github.com/ember-learn/ember-cli-addon-docs'}}
18-
<img height='30px'
19-
src="/assets/images/rick-astley.jpg"
20-
alt="Never gonna give you up"
21-
/>
17+
{{#docs-header githubUrl='https://github.com/ember-learn/ember-cli-addon-docs' as |header|}}
18+
{{#header.link 'index'}}
19+
Another route
20+
{{/header.link}}
2221
{{/docs-header}}
2322
{{/demo.example}}
2423

0 commit comments

Comments
 (0)