3f8d9f19a4
Generate a new section of the website to aggregate Blog posts about TripleO. Change-Id: I719973e350aec432a3a2ad1413ea873b1edf95e5
48 lines
1.2 KiB
Cheetah
48 lines
1.2 KiB
Cheetah
<body>
|
|
|
|
<div style="float: right">
|
|
<b>Subscriptions</b>
|
|
<ul>
|
|
<TMPL_LOOP Channels>
|
|
<li><a href="<TMPL_VAR link ESCAPE="HTML">" title="<TMPL_VAR title ESCAPE="HTML">"><TMPL_VAR name></a> <a href="<TMPL_VAR url ESCAPE="HTML">">(feed)</a></li>
|
|
</TMPL_LOOP>
|
|
</ul>
|
|
</div>
|
|
|
|
### The other loop is the Items loop, which will get iterated for each
|
|
### news item.
|
|
|
|
<TMPL_LOOP Items>
|
|
|
|
### Visually distinguish articles from different days by checking for
|
|
### the new_date flag. This demonstrates the <TMPL_IF varname> ... </TMPL_IF>
|
|
### check.
|
|
|
|
<TMPL_IF new_date>
|
|
<h3 style='width: 75%'><TMPL_VAR new_date></h3>
|
|
</TMPL_IF>
|
|
|
|
### Group consecutive articles by the same author together by checking
|
|
### for the new_channel flag.
|
|
|
|
<TMPL_IF new_channel>
|
|
<p><a href="<TMPL_VAR channel_link ESCAPE="HTML">" title="<TMPL_VAR channel_title ESCAPE="HTML">"><TMPL_VAR channel_name></a></p>
|
|
</TMPL_IF>
|
|
|
|
|
|
<TMPL_IF title>
|
|
<h4 style='width: 75%'><a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_VAR title></a></h4>
|
|
</TMPL_IF>
|
|
<p>
|
|
<TMPL_VAR content>
|
|
</p>
|
|
<p>
|
|
<em><a href="<TMPL_VAR link ESCAPE="HTML">"><TMPL_IF author>by <TMPL_VAR author> at </TMPL_IF><TMPL_VAR date></a></em>
|
|
</p>
|
|
</TMPL_LOOP>
|
|
|
|
<hr>
|
|
<p>
|
|
<em>Last updated: <TMPL_VAR date></em>
|
|
</p>
|