Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sitemap.xml.erb « content - gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3637eaee7d115005d094ac0e6d6b08848175de89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
is_hidden: true
---
<%= xml_sitemap(
  items: items.select do |i|
    # Exclude 'is_hidden: true' files
    !i[:is_hidden] &&
      # Exclude CE
      !i.identifier.to_s.include?('/ce/') &&
      # Include all files end with md, erb, html
      i.identifier.to_s.end_with?('.md','.erb','.html')
  end
) %>