Skip to content

Commit 2b73296

Browse files
Maledongfhemberger
authored andcommitted
[Fix] Fix styles of hbs files (#1722)
Because there is something wrong in formation, and when we run `npm run test` we cannot continue: ![error](https://user-images.githubusercontent.com/40081831/42437285-36ee8274-838f-11e8-8c9b-741e694705ce.PNG) This is the fixture for that: ![success](https://user-images.githubusercontent.com/40081831/42437290-417e65c4-838f-11e8-8929-e2d801d1780e.PNG)
1 parent ecfdb0a commit 2b73296

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

layouts/partials/header.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77

88
<nav>
99
<ul class="list-divider-pipe">
10-
<li{{#equals path ''}} class="active"{{/equals}}>
10+
<li {{#equals path ''}}class="active"{{/equals}}>
1111
<a href="/{{site.locale}}/">{{site.home.text}}</a>
1212
</li>
1313

1414
{{#each nav.main}}
15-
<li{{#startswith ../path link}} class="active"{{/startswith}}{{#startswith link 'https://foundation.nodejs.org'}} class="nav-foundation"{{/startswith}}>
15+
<li {{#startswith ../path link}}class="active"{{/startswith}}{{#startswith link 'https://foundation.nodejs.org'}} class="nav-foundation"{{/startswith}}>
1616
{{#startswith link 'http'}}
1717
<a href="{{link}}">{{text}}</a>
1818
{{else}}

layouts/partials/navigation.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{{#each nav}}
44
{{#equals @key ../key}}
55
{{#each this}}
6-
<li{{#equals ../../path link}} class="active"{{/equals}}>
6+
<li {{#equals ../../path link}}class="active"{{/equals}}>
77
{{#startswith link '/'}}
88
<a href="{{link}}">{{text}}{{#if subtext}} <span class="small color-lightgray">{{subtext}}</span>{{/if}}</a>
99
{{else}}

0 commit comments

Comments
 (0)