Skip to content

Commit

Permalink
sitemap (#10): iniciado customização manual do sitemap (parte das lan…
Browse files Browse the repository at this point in the history
…ding pages por idioma
  • Loading branch information
fititnt committed May 17, 2021
1 parent a357e82 commit d16d312
Showing 1 changed file with 62 additions and 1 deletion.
63 changes: 62 additions & 1 deletion documentum/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,68 @@ sitemap:
---

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<!-- Home / -->
<url>
<loc>{{ site.url }}/</loc>
<lastmod>{{ "now" | date_to_xmlschema }}</lastmod>
<changefreq>weekly</changefreq>
<priority>0.7</priority>
<xhtml:link
rel="alternate"
hreflang="x-default"
href="{{ site.url }}/" />
<xhtml:link
rel="alternate"
hreflang="en"
href="{{ site.url }}/eng/" />
<xhtml:link
rel="alternate"
hreflang="pt"
href="{{ site.url }}/por/" />
</url>
<!-- /eng/ -->
<url>
<loc>{{ site.url }}/eng/</loc>
<lastmod>{{ "now" | date_to_xmlschema }}</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
<xhtml:link
rel="alternate"
hreflang="x-default"
href="{{ site.url }}/" />
<xhtml:link
rel="alternate"
hreflang="en"
href="{{ site.url }}/eng/" />
<xhtml:link
rel="alternate"
hreflang="pt"
href="{{ site.url }}/por/" />
</url>

<!-- /por/ -->
<url>
<loc>{{ site.url }}/por/</loc>
<lastmod>{{ "now" | date_to_xmlschema }}</lastmod>
<changefreq>daily</changefreq>
<priority>1.0</priority>
<xhtml:link
rel="alternate"
hreflang="x-default"
href="{{ site.url }}/" />
<xhtml:link
rel="alternate"
hreflang="en"
href="{{ site.url }}/eng/" />
<xhtml:link
rel="alternate"
hreflang="pt"
href="{{ site.url }}/por/" />
</url>


{% for post in site.posts %}
{% unless post.published == false %}
<url>
Expand Down

0 comments on commit d16d312

Please sign in to comment.