Source

chempound / chempound-webapp / src / main / resources / net / chempound / templates / index.ftl

<#-- @ftlvariable name="@" type="net.chempound.webapp.GlobalData" -->
<@layout.basic>

<h1>${@.data.frontPageTitle}</h1>

<p>This is a Chempound Data Repository.</p>

<p>You can <a href="content/">browse</a> or <a href="search/">search</a> its contents.</p>

<h2>Most recent additions</h2>

<#list @.recentItems() as resource>
<div class="result<#if resource_index == 0> first</#if>">
    <@macro.snippet @.info(resource) />
</div>
</#list>

</@layout.basic>