Skip to content

Commit

Permalink
Add komponent-title class to h1
Browse files Browse the repository at this point in the history
  • Loading branch information
Spone committed Apr 2, 2019
1 parent 0693fe9 commit 9c8fcdb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/generators/component/templates/examples.html.erb.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<h1><%%= @component.title %></h1>
<h1 class="komponent-title"><%%= @component.title %></h1>

<%%= cdoc "<%= component_name %>" %>
2 changes: 1 addition & 1 deletion lib/generators/component/templates/examples.html.haml.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
%h1= @component.title
%h1.komponent-title= @component.title

= cdoc "<%= component_name %>"
2 changes: 1 addition & 1 deletion lib/generators/component/templates/examples.html.slim.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
h1= @component.title
h1.komponent-title= @component.title

= cdoc "<%= component_name %>"

0 comments on commit 9c8fcdb

Please sign in to comment.