BaySec website source
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

16 lines
567 B

  1. BEGIN:VCALENDAR
  2. METHOD:PUBLISH
  3. VERSION:2.0
  4. PRODID:-//BaySec Creations//Hyde Jinja2 Templates 0.1//EN
  5. {% for post in resource.node.walk_resources_sorted_by_time() %}
  6. {% if post.meta.event_summary %}
  7. BEGIN:VEVENT
  8. SUMMARY:{{ post.meta.event_summary }}
  9. LOCATION:{{ post.meta.event_location }}
  10. DTSTART{% if post.meta.event_timezone %};TZID={{ post.meta.event_timezone }}{% endif %}:{{ post.meta.event_start }}
  11. DTEND{% if post.meta.event_timezone %};TZID={{ post.meta.event_timezone }}{% endif %}:{{ post.meta.event_end }}
  12. END:VEVENT
  13. {% endif %}
  14. {% endfor %}
  15. END:VCALENDAR