diff --git a/config.rb b/config.rb index 8552964..4c171a3 100644 --- a/config.rb +++ b/config.rb @@ -121,7 +121,7 @@ after_render do |content, path, locs| content.gsub(%r{^<(h[0-6])(.*?)}m) do |header_text| header = Nokogiri::HTML::DocumentFragment.parse(header_text).children.first id = header.attr(:id) - header.children.before("#{header.text} permalink") if id + header.children.before("#{header.text} permalink") if id header.to_html end end diff --git a/source/assets/css/regions/_banner.scss b/source/assets/css/regions/_banner.scss index 4e62c9e..f627902 100644 --- a/source/assets/css/regions/_banner.scss +++ b/source/assets/css/regions/_banner.scss @@ -36,4 +36,4 @@ border: 0; } } -} +} \ No newline at end of file diff --git a/source/layouts/layout.haml b/source/layouts/layout.haml index 1447ad0..49e7389 100644 --- a/source/layouts/layout.haml +++ b/source/layouts/layout.haml @@ -47,16 +47,6 @@ = link_to 'upgrade your browser', 'https://browsehappy.com/' to improve your experience and security. - .sl-c-alert.sl-c-alert--info - .sl-l-container - %p - %strong Sass just launched a brand new module system. - = succeed '!' do - = link_to '/blog/the-module-system-is-launched' do - Learn all about it on the Sass blog - - .sl-c-pop-stripe - %header.sl-r-banner(itemtype='http://schema.org/WPHeader' itemscope='itemscope' role='banner') .sl-c-alert.sl-c-alert--info .sl-l-container