diff --git a/README.md b/README.md index 0bc5023..6f5c4c2 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,9 @@ js_include: - 'http://code.jquery.com/jquery-1.10.2.min.js' - '../assets/js/main.js' +# Add one or more css classes to the element. E.g. 'no-js' if you want to use Modernizr in your styleguide +# html_class: 'no-js' + # String who is used to split the category name and create category wrapper name_scope: ' - ' ```` diff --git a/_header.html b/_header.html index 913eb9a..9dfd6ee 100755 --- a/_header.html +++ b/_header.html @@ -1,6 +1,8 @@ <% nameScope = @config['name_scope'] %> +<% htmlClass = @config['html_class'] %> - +class="<%= htmlClass %>"<% end %>> +