Browse Source

add location

root 5 years ago
parent
commit
a1616ea461
1 changed files with 1 additions and 0 deletions
  1. 1 0
      templates/calendar.ics.twig

+ 1 - 0
templates/calendar.ics.twig

@@ -8,6 +8,7 @@ SUMMARY:{{node.title.0.value}}
 UID:node-{{node.nid.0.value}}@www.ondarossa.info
 DTSTAMP:{{node.created.0.value|date("Ymd\\THis")}}Z
 DTSTART:{{node.field_data_evento.0.value|date("Ymd\\THis")}}Z
+LOCATION:{{node.field_luogo.0.value}}
 DURATION:PT1H
 DTEND:{{node.field_data_evento.0.value|date_modify("+1 hour")|date("Ymd\\THis")}}Z
 URL:http://www.ondarossa.info{{node.path.0.alias}}