Skip to content

Commit

Permalink
Merge pull request #289 from ArmDeveloperEcosystem/main
Browse files Browse the repository at this point in the history
added sitemap
  • Loading branch information
zachlasiuk authored Jul 10, 2024
2 parents f553fef + 35a3480 commit 97395f3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions themes/arm-design-system-hugo-theme/layouts/_default/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">
{{ range .Site.RegularPages }}{{ if ne .Params.sitemap_exclude true }}
<url>
<loc>https://www.arm.com/developer-hub/ecosystem-dashboard?package={{ .Params.name | urlize }}</loc>{{ if not .Lastmod.IsZero }}
<lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
{{ end }}{{ end }}
</urlset>

0 comments on commit 97395f3

Please sign in to comment.