mdn: remove contribute_link

pull/1473/head
Simon Legner 4 years ago
parent 3fc89f307a
commit 92d8a8ec47

@ -1,19 +0,0 @@
module Docs
class Mdn
class ContributeLinkFilter < Filter
def call
return html if current_url.host != 'developer.mozilla.org'
html << <<-HTML.strip_heredoc
<div class="_attribution">
<p class="_attribution-p">
<a href="#{current_url}$edit" class="_attribution-link">Edit this page on MDN</a>
</p>
</div>
HTML
html
end
end
end
end

@ -7,7 +7,6 @@ module Docs
params[:macros] = 1
html_filters.push 'mdn/clean_html'
text_filters.insert_before 'attribution', 'mdn/contribute_link'
options[:rate_limit] = 200
options[:trailing_slash] = false

Loading…
Cancel
Save