1<article id="staticpage_{$staticpage_pagetitle|@makeFilename}" class="serendipity_staticpage{if $staticpage_articleformat} post serendipity_entry{/if}"> 2 <header> 3 <h2>{if $staticpage_articleformat}{if $staticpage_articleformattitle}{$staticpage_articleformattitle|@escape}{else}{$staticpage_pagetitle}{/if}{else}{if $staticpage_headline}{$staticpage_headline|@escape}{else}{$staticpage_pagetitle}{/if}{/if}</h2> 4 {if $staticpage_show_breadcrumb} 5 <div class="staticpage_breadcrumbs"> 6 <a href="{$serendipityBaseURL}" title="{$CONST.HOMEPAGE}">{$template_option.home_link_text}</a> 7 {foreach name="crumbs" from=$staticpage_navigation.crumbs item="crumb"} 8 / {if !$smarty.foreach.crumbs.last}<a href="{$crumb.link}">{/if}{$crumb.name|@escape}</a> 9 {/foreach} 10 </div> 11 {/if} 12 </header> 13 {if $staticpage_pass AND $staticpage_form_pass != $staticpage_pass} 14 <form class="staticpage_password_form" action="{$staticpage_form_url}" method="post"> 15 <fieldset> 16 <legend>{$CONST.STATICPAGE_PASSWORD_NOTICE}</legend> 17 <input name="serendipity[pass]" type="password" value=""> 18 <input name="submit" type="submit" value="{$CONST.GO}" > 19 </fieldset> 20 </form> 21 {else} 22 <section id="entry"> 23 {if $staticpage_show_childpages && is_array($staticpage_childpages)} 24 <nav role="navigation"> 25 <ul class="staticpage_childpages"> 26 {foreach from=$staticpage_childpages item="childpage"} 27 <li><a href="{$childpage.permalink|@escape}" title="{$childpage.pagetitle|@escape}">{$childpage.pagetitle|@escape}</a></li> 28 {/foreach} 29 </ul> 30 </nav> 31 {/if} 32 {if $staticpage_precontent} 33 <div class="content serendipity_preface"> 34 {$staticpage_precontent} 35 </div> 36 {/if} 37 {/if} 38 {if $staticpage_navigation AND $staticpage_shownavi} 39 <nav role="navigation"> 40 <ul class="pager staticpage_navigation"> 41 {if $staticpage_navigation.prev.link}<li class="previous"><a href="{$staticpage_navigation.prev.link}" title="prev"><i class="fa fa-arrow-left" aria-hidden="true"></i> {$staticpage_navigation.prev.name|@escape}</a></li>{/if} 42 {if $staticpage_navigation.next.link}<li class="next"><a href="{$staticpage_navigation.next.link}" title="next">{$staticpage_navigation.next.name|@escape} <i class="fa fa-arrow-right" aria-hidden="true"></i></a></li>{/if} 43 </ul> 44 </nav> 45 {/if} 46 {if $staticpage_custom.show_author =='true' || $staticpage_custom.show_date =='true' || ($staticpage_adminlink && $staticpage_adminlink.page_user)} 47 <footer class="staticpage-footer"> 48 <p class="post-meta"> 49 {if $staticpage_custom.show_author =='true'}{$CONST.POSTED_BY} {$staticpage_author|@escape}{/if}{if $staticpage_custom.show_date =='true'}{if $staticpage_custom.show_author =='true'} {$CONST.ON} {/if}<time datetime="{$staticpage_lastchange|@serendipity_html5time}">{$staticpage_lastchange|@formatTime:$template_option.date_format}</time>{/if}{if $staticpage_adminlink AND $staticpage_adminlink.page_user}{if $staticpage_custom.show_author =='true' || $staticpage_custom.show_date =='true'} {/if}<a href="{$staticpage_adminlink.link_edit}" title="{$staticpage_adminlink.link_name|@escape}"><button class="btn btn-sm btn-default"><i class="fa fa-lg fa-edit"></i><span class="sr-only">{$staticpage_adminlink.link_name|@escape}</span></button></a>{/if} 50 </p> 51 </footer> 52 {/if} 53</article>