diff --git a/src/_components/guides/category/section.rb b/src/_components/guides/category/section.rb index 688ce44e..78f31ae8 100644 --- a/src/_components/guides/category/section.rb +++ b/src/_components/guides/category/section.rb @@ -7,9 +7,9 @@ def initialize(category:, title: nil, css_classes: "") @category_name = category.name @description = category.description @resources = @site.collections.guides.resources.select do |guide| - guide.data.categories.find do |category| + !guide.data.skip_listing && guide.data.categories.find { |category| Bridgetown::Utils.slugify(category) == Bridgetown::Utils.slugify(@category_name) - end + } end @remaining_count = @resources.count - 3 end diff --git a/src/_guides/openapi/specification/_defaults.yml b/src/_guides/openapi/specification/_defaults.yml index 418e23a6..2c565685 100644 --- a/src/_guides/openapi/specification/_defaults.yml +++ b/src/_guides/openapi/specification/_defaults.yml @@ -1,3 +1,4 @@ layout: indepth_guide page_class: guide indepth-guide with-sidebar sidebar_title: OpenAPI Specification +skip_listing: true