citra-web/site/themes/citra-bs-theme/layouts/sitemap.xml
Weiyi Wang 2ff764f331 PR #45 rebased (#46)
* Initial checkin of refactoring gulp / scss

* Updated gitignore.

* Removing build directory.

* Updated package.json, removed downloads script.

* Removed assets_backup. Added back travis. Added back github pages dependency. Changed assets to src.

* Updated javascript rendering.

* Removing citra-theme button overrides in favor of scss.

* Refactored hyperlinks underline color

* Replacing manual string concat with backtick.
2017-08-30 02:16:03 +00:00

26 lines
1.0 KiB
XML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
  {{ range .Data.Pages }}
{{ if (eq .IsPage true) }}
{{ $rating := index .Site.Data.compatibility ( string .Params.compatibility | default "0" ) }}
  <url>
<loc>{{ .Permalink }}</loc>
{{ if (eq .Section "entry") }}
<image:image>
<image:loc>{{ .Site.BaseURL }}/images/banners/{{ .Params.Banner | default (print .File.BaseFileName ".png") }}</image:loc>
</image:image>
{{ else if (eq .Section "game") }}
<image:image>
<image:loc>{{ .Site.BaseURL }}/images/game/icons/{{ .File.BaseFileName }}.png</image:loc>
</image:image>
{{ end }}
{{ if not .Lastmod.IsZero }}<lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}
{{ with .Sitemap.ChangeFreq }}<changefreq>{{ . }}</changefreq>{{ end }}
{{ if ge .Sitemap.Priority 0.0 }}<priority>{{ .Sitemap.Priority }}</priority>{{ end }}
  </url>
  {{ end }}
{{ end }}
</urlset>