1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-06-07 21:06:13 +01:00

Introduce global theme partials.

This commit is contained in:
hacksalot
2016-01-06 03:51:13 -05:00
parent 9fd0ce9695
commit b4a93020ec
24 changed files with 599 additions and 59 deletions

View File

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