1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-12-03 13:05:55 +00:00

feat: partials: improve consistency of MD & TXT formats

This commit is contained in:
hacksalot 2018-02-07 23:23:16 -05:00
parent 3ed791b1f4
commit ceb9901669
No known key found for this signature in database
GPG Key ID: 2F343EC247CA4B06
10 changed files with 20 additions and 22 deletions

View File

@ -8,7 +8,8 @@
{{#> body-writing }}
<div>
<h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>,
{{ publisher.name }}</h3>
{{stringOrObject publisher "name" }}</h3>
<span class="tenure">{{date date 'YYYY'}}</span>
{{{ summary }}}
{{> highlights }}

View File

@ -6,10 +6,9 @@
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
{{/each}}
{{/if}}
{{/each}}{{/if}}
{{/each}}
{{/section}}

View File

@ -1,13 +1,8 @@
{{#section 'writing'}}
## WRITING
## {{{sectionTitle "WRITING"}}}
{{#each r.writing}}
{{#if url}}
### [{{{ title }}}]({{{ url }}}) ({{date date}})
{{else}}
### {{{ title }}} ({{date date}})
{{/if}}
### ***{{linkMD title url}}*** ({{#if publisher}}{{stringOrObject publisher "name"}}, {{/if}}{{date date}})
{{{ summary }}}
{{/each}}

View File

@ -3,7 +3,8 @@
{{#each r.extracurricular }}
{{{ title }}}, {{{ activity }}} ({{dateRange .}})
{{{ summary }}}
{{#if summary}}{{{ summary }}}
{{/if}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}

View File

@ -3,15 +3,13 @@
{{#each r.governance }}
{{#if role}}{{{ role }}}, {{/if}}{{{ organization }}}{{#has 'start'}} ({{dateRange .}}){{/has}}
{{~#if summary}}
{{{ summary }}}{{/if}}
{{~#if highlights}}
{{#if summary}}{{{ summary }}}
{{/if}}
{{#if highlights}}
{{#each highlights}}
- {{{ this }}}
{{/each}}{{/if}}
{{/each}}
{{/if}}
{{/each}}
{{/section}}

View File

@ -1 +1,4 @@
{{#has 'info.brief' }}{{{ r.info.brief }}}{{/has}}
{{#has 'info.brief' }}
{{{ r.info.brief }}}
{{/has}}

View File

@ -3,7 +3,6 @@
{{#each r.samples }}
{{{ title }}} ({{date date}})
{{{ summary }}}
{{#if highlights}}
{{#each highlights}}

View File

@ -4,4 +4,5 @@
{{#each r.skills.sets}}
- {{{ name }}}: {{#each skills}}{{{ . }}} {{/each}}
{{/each}}
{{/section}}

View File

@ -2,7 +2,7 @@
{{{sectionTitle "WRITING"}}} ------------------------------------------------------------------------
{{#each r.writing}}
{{{ title }}}{{#if date}} ({{date date}}){{/if}}
{{{ title }}} ({{#if publisher}}{{stringOrObject publisher "name" }}{{/if}}{{#if date}}, {{date date}}{{/if}})
{{#if summary}}{{{ summary }}}
{{/if}}

View File

@ -4,6 +4,7 @@
{{#has 'contact.website' }}Web: {{{ r.contact.website }}}{{/has}}
================================================================================
{{> section/info }}
{{> section/skills }}