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:
parent
3ed791b1f4
commit
ceb9901669
@ -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 }}
|
||||
|
@ -6,10 +6,9 @@
|
||||
|
||||
{{{ summary }}}
|
||||
{{#if highlights}}
|
||||
|
||||
{{#each highlights}}
|
||||
- {{{ this }}}
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
|
||||
{{/each}}{{/if}}
|
||||
{{/each}}
|
||||
{{/section}}
|
||||
|
@ -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}}
|
||||
|
@ -3,7 +3,8 @@
|
||||
|
||||
{{#each r.extracurricular }}
|
||||
{{{ title }}}, {{{ activity }}} ({{dateRange .}})
|
||||
{{{ summary }}}
|
||||
{{#if summary}}{{{ summary }}}
|
||||
{{/if}}
|
||||
{{#if highlights}}
|
||||
{{#each highlights}}
|
||||
- {{{ this }}}
|
||||
|
@ -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}}
|
||||
|
@ -1 +1,4 @@
|
||||
{{#has 'info.brief' }}{{{ r.info.brief }}}{{/has}}
|
||||
{{#has 'info.brief' }}
|
||||
{{{ r.info.brief }}}
|
||||
|
||||
{{/has}}
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
{{#each r.samples }}
|
||||
{{{ title }}} ({{date date}})
|
||||
|
||||
{{{ summary }}}
|
||||
{{#if highlights}}
|
||||
{{#each highlights}}
|
||||
|
@ -4,4 +4,5 @@
|
||||
{{#each r.skills.sets}}
|
||||
- {{{ name }}}: {{#each skills}}{{{ . }}} {{/each}}
|
||||
{{/each}}
|
||||
|
||||
{{/section}}
|
||||
|
@ -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}}
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
{{#has 'contact.website' }}Web: {{{ r.contact.website }}}{{/has}}
|
||||
================================================================================
|
||||
|
||||
|
||||
{{> section/info }}
|
||||
|
||||
{{> section/skills }}
|
||||
|
Loading…
Reference in New Issue
Block a user