We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d579d97 commit 951bbb6Copy full SHA for 951bbb6
lib/docs/filters/astro/clean_html.rb
@@ -2,6 +2,8 @@ module Docs
2
class Astro
3
class CleanHtmlFilter < Filter
4
def call
5
+ return '<h1>Astro</h1><p> Astro is a website build tool for the modern web — powerful developer experience meets lightweight output.</p>' if root_page?
6
+
7
@doc = at_css('main')
8
9
css('.anchor-link').remove
lib/docs/filters/astro/entries.rb
@@ -15,6 +15,7 @@ def get_type
15
end
16
17
def additional_entries
18
+ return [] if root_page?
19
return [] if slug.start_with?('guides/deploy')
20
return [] if slug.start_with?('guides/integrations-guide')
21
0 commit comments