mirror of
https://github.com/danog/sass-site.git
synced 2024-11-27 04:24:50 +01:00
🦐 Address undone git edits sob
This commit is contained in:
parent
eb5c3a1919
commit
569efcc4a7
@ -121,7 +121,7 @@ after_render do |content, path, locs|
|
||||
content.gsub(%r{^<(h[0-6])(.*?)</\1>}m) do |header_text|
|
||||
header = Nokogiri::HTML::DocumentFragment.parse(header_text).children.first
|
||||
id = header.attr(:id)
|
||||
header.children.before("<a class='anchor' href='##{id}'><span class='visuallyhidden'>#{header.text} permalink</a>") if id
|
||||
header.children.before("<a class='anchor' href='##{id}'><span class='visuallyhidden'>#{header.text} permalink</span></a>") if id
|
||||
header.to_html
|
||||
end
|
||||
end
|
||||
|
@ -36,4 +36,4 @@
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user