age-de.xml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ---
  2. layout: null
  3. permalink: /age-de.xml
  4. ---
  5. {% assign min_age = 12 %}{% assign max_age = min_age %}{% for page in site.pages %}
  6. {% if page.age and page.age > max_age %}
  7. {% assign max_age = page.age %}
  8. {% endif %}
  9. {% endfor %}<?xml version="1.0" encoding="UTF-8"?>
  10. <?xml-stylesheet type="text/xsl" href="/age-de.xslt"?>
  11. <age-declaration>
  12. <ageblock-basic>
  13. <age-issuer>self-d</age-issuer>
  14. <last-change>{{ "now" | date: "%Y-%m-%d" }}</last-change>
  15. <country>de</country>
  16. <label-version>1.0</label-version>
  17. <revisit-after>always</revisit-after>
  18. </ageblock-basic>
  19. <ageblock-labeltype>
  20. <xmlfile>true</xmlfile>
  21. <httpheader>false</httpheader>
  22. <htmlmeta>false</htmlmeta>
  23. <label-z>false</label-z>
  24. <min-age>{{ min_age }}</min-age>
  25. <default-age>{{ max_age }}</default-age>
  26. </ageblock-labeltype>
  27. <ageblock-labeltype-definition>
  28. <labeltype-xmlfile>{% for page in site.pages %}{% if page.age %}
  29. <label class="{{ page.permalink | xml_escape }}">
  30. <unit>{{ page.title | xml_escape }}</unit>
  31. <scope>*{{ page.permalink | xml_escape }}</scope>
  32. <protocol>all</protocol>
  33. <age>{{ page.age }}</age>
  34. </label>{% endif %}{% endfor %}
  35. <label class="minimum">
  36. <unit>Minimum</unit>
  37. <scope>*</scope>
  38. <protocol>all</protocol>
  39. <age>{{ min_age }}</age>
  40. </label>
  41. <label class="default">
  42. <min-age>{{ min_age }}</min-age>
  43. <default-age>{{ max_age }}</default-age>
  44. </label>
  45. </labeltype-xmlfile>
  46. </ageblock-labeltype-definition>
  47. </age-declaration>