1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-06-26 22:01:03 +01:00

Allow overriding of section headers.

This commit is contained in:
hacksalot
2016-01-12 09:40:18 -05:00
parent 1799a49234
commit 2fcb283631
13 changed files with 68 additions and 77 deletions

View File

@ -1,16 +1,17 @@
{{#section "writing"}}
<hr>
<section id="publications">
<header>
<h2>{{{sectionTitle "Writing"}}}</h2>
{{#> icon-writing }}{{/icon-writing}}
</header>
<section id="writing">
{{#> header-writing }}
{{> header-simple _title="WRITING" _section="writing" }}
{{#> icon-writing }}{{/icon-writing}}
{{/header-writing}}
{{#each r.writing }}
<div>
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
{{ publisher.name }}</h3>
<span class="tenure">{{formatDate safe.date 'YYYY'}}</span>
{{{ summary }}}
{{> highlights }}
</div>
{{/each}}
</section>