dimension theme
This commit is contained in:
parent
0c44a2e2fe
commit
c8a4fc4567
73 changed files with 10250 additions and 0 deletions
11
themes/dimension/layouts/sitemap.xml
Normal file
11
themes/dimension/layouts/sitemap.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
{{ $baseURL := .Site.BaseURL }}
|
||||
{{ range sort .Data.Pages }}
|
||||
<url>
|
||||
<loc>{{ $baseURL }}{{ .LanguagePrefix }}/#{{ .File.TranslationBaseName }}</loc>{{ 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 }}
|
||||
</urlset>
|
||||
Loading…
Add table
Add a link
Reference in a new issue