template: custom themes for agenda
For agenda a custom theme can be configured in locations/theme. Templates are read from the subdirectory "templates/<theme>/". The default theme is "default". All Templates are moved to templates/default.
This commit is contained in:
47
website/agenda/templates/default/event.atom.xml
Normal file
47
website/agenda/templates/default/event.atom.xml
Normal file
@@ -0,0 +1,47 @@
|
||||
<TMPL_IF use_client_cache>Cache-Control: max-age=600, must-revalidate
|
||||
</TMPL_IF>Content-type:application/atom+xml; charset=UTF-8
|
||||
Access-Control-Allow-Origin: *
|
||||
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:gCal='http://schemas.google.com/gCal/2005'>
|
||||
<id><TMPL_VAR cache_base_url></id>
|
||||
|
||||
<title type='text'><TMPL_VAR project_title></title>
|
||||
<updated><TMPL_VAR modified_at></updated>
|
||||
<category term='<TMPL_VAR location_mapped>'/>
|
||||
<subtitle type='text'><TMPL_VAR project_subtitle></subtitle>
|
||||
|
||||
<author>
|
||||
<name><TMPL_VAR project_title></name>
|
||||
<email><TMPL_VAR project_email></email>
|
||||
</author>
|
||||
<link rel='alternate' type='text/html' href='<TMPL_VAR source_base_url>'/>
|
||||
<link rel='self' type='application/atom+xml' href='<TMPL_VAR cache_base_url>/feed/'/>
|
||||
|
||||
<generator version='0.1' uri='http://radiopiloten.de'>calcms</generator>
|
||||
<gCal:timezone value='<TMPL_VAR time_zone>'/>
|
||||
<gCal:timesCleaned value='0'/>
|
||||
<TMPL_LOOP events>
|
||||
<entry>
|
||||
<id><TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html</id>
|
||||
<published><TMPL_VAR created_at></published>
|
||||
<updated><TMPL_VAR modified_at></updated>
|
||||
|
||||
<category term='Sendung'/>
|
||||
<title type='text'><TMPL_VAR weekday_short_name>, <TMPL_VAR start_date_name> - <TMPL_VAR start_time_name> - <TMPL_VAR end_time_name> | <TMPL_VAR full_title></title>
|
||||
<summary type='text'><TMPL_VAR excerpt></summary>
|
||||
<content type='html'><![CDATA[<TMPL_VAR weekday_short_name>, <TMPL_VAR start_date_name> - <TMPL_VAR start_time_name> - <TMPL_VAR end_time_name> | <TMPL_VAR full_title><p><TMPL_VAR content_html>]]></content>
|
||||
|
||||
<link rel='alternate' type='text/html' href='<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>' title='alternate'/>
|
||||
<link rel='self' type='application/atom+xml' href='<TMPL_VAR cache_base_url>/<TMPL_VAR .controllers.event>/<TMPL_VAR event_id>.html#<TMPL_VAR event_uri escape=url>'/>
|
||||
<TMPL_IF media_url><link rel="enclosure" type="audio/mpeg" href="<TMPL_VAR media_url>"/>
|
||||
</TMPL_IF>
|
||||
<TMPL_IF project_title><author>
|
||||
<name><TMPL_VAR project_title></name>
|
||||
<email><TMPL_VAR project_email></email>
|
||||
</author>
|
||||
</TMPL_IF>
|
||||
|
||||
</entry>
|
||||
</TMPL_LOOP>
|
||||
</feed>
|
||||
Reference in New Issue
Block a user