浏览代码

add location

root 5 年之前
父节点
当前提交
a1616ea461
共有 1 个文件被更改,包括 1 次插入0 次删除
  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}}