Skip to content

Commit

Permalink
Update template.md
Browse files Browse the repository at this point in the history
  • Loading branch information
samselikoff authored Apr 10, 2018
1 parent a604594 commit 7a295f4
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tests/dummy/app/pods/docs/components/docs-header/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ A header that gives you an easy autogenerated logo via the <code>logo</code> and
{{demo.snippet 'docs-header.hbs'}}
{{/docs-demo}}

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

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

Expand Down

0 comments on commit 7a295f4

Please sign in to comment.