Browse Source

Merge pull request #703 from cbiffle/master

Add XML declarations to XML templates.
index-subcmd
Vincent Prouillet GitHub 5 years ago
parent
commit
83cf19877a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 1 deletions
  1. +1
    -1
      EXAMPLES.md
  2. +1
    -0
      components/templates/src/builtins/rss.xml
  3. +1
    -0
      components/templates/src/builtins/sitemap.xml
  4. +1
    -0
      components/templates/src/builtins/split_sitemap_index.xml

+ 1
- 1
EXAMPLES.md View File

@@ -13,7 +13,7 @@
| [atlasreports.nl](http://www.atlasreports.nl) | | | [atlasreports.nl](http://www.atlasreports.nl) | |
| [groksome.com](http://www.groksome.com) | | | [groksome.com](http://www.groksome.com) | |
| [tuckersiemens.com](https://tuckersiemens.com) | https://github.com/reillysiemens/tuckersiemens.com | | [tuckersiemens.com](https://tuckersiemens.com) | https://github.com/reillysiemens/tuckersiemens.com |
| [andrei.blue](https://andrei.blue) | https://github.com/azah/personal-blog |
| [andrewzah.com](https://andrewzah.com) | https://git.sr.ht/~andrewzah/personal-site/tree |
| [Axiomatic Semantics](https://axiomatic.neophilus.net) | https://github.com/Libbum/AxiomaticSemantics | | [Axiomatic Semantics](https://axiomatic.neophilus.net) | https://github.com/Libbum/AxiomaticSemantics |
| [Tinkering](https://tinkering.xyz) | | | [Tinkering](https://tinkering.xyz) | |
| [Daniel Sockwell's codesections.com](https://www.codesections.com) | https://gitlab.com/codesections/codesections-website | | [Daniel Sockwell's codesections.com](https://www.codesections.com) | https://gitlab.com/codesections/codesections-website |


+ 1
- 0
components/templates/src/builtins/rss.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"> <rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel> <channel>
<title>{{ config.title }}</title> <title>{{ config.title }}</title>


+ 1
- 0
components/templates/src/builtins/sitemap.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"> <urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
{% for sitemap_entry in entries %} {% for sitemap_entry in entries %}
<url> <url>


+ 1
- 0
components/templates/src/builtins/split_sitemap_index.xml View File

@@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<sitemapindex xmlns="https://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd"> <sitemapindex xmlns="https://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd">
{% for sitemap in sitemaps %} {% for sitemap in sitemaps %}
<sitemap> <sitemap>


Loading…
Cancel
Save