mirror of
				https://github.com/JuanCanham/fresh-themes.git
				synced 2025-10-30 12:27:28 +00:00 
			
		
		
		
	feat: partials: improve consistency of MD & TXT formats
This commit is contained in:
		| @@ -8,7 +8,8 @@ | |||||||
|     {{#> body-writing }} |     {{#> body-writing }} | ||||||
|     <div> |     <div> | ||||||
|     <h3><em>{{#if url}}<a href="{{{ url }}}">{{{ title }}}</a>{{else}}{{{ title }}}{{/if}}</em>, |     <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> |       <span class="tenure">{{date date 'YYYY'}}</span> | ||||||
|       {{{ summary }}} |       {{{ summary }}} | ||||||
|       {{> highlights }} |       {{> highlights }} | ||||||
|   | |||||||
| @@ -6,10 +6,9 @@ | |||||||
|  |  | ||||||
| {{{ summary }}} | {{{ summary }}} | ||||||
| {{#if highlights}} | {{#if highlights}} | ||||||
|  |  | ||||||
| {{#each highlights}} | {{#each highlights}} | ||||||
|   - {{{ this }}} |   - {{{ this }}} | ||||||
| {{/each}} | {{/each}}{{/if}} | ||||||
| {{/if}} |  | ||||||
|  |  | ||||||
| {{/each}} | {{/each}} | ||||||
| {{/section}} | {{/section}} | ||||||
|   | |||||||
| @@ -1,13 +1,8 @@ | |||||||
| {{#section 'writing'}} | {{#section 'writing'}} | ||||||
| ## WRITING | ## {{{sectionTitle "WRITING"}}} | ||||||
|  |  | ||||||
| {{#each r.writing}} | {{#each r.writing}} | ||||||
| {{#if url}} | ### ***{{linkMD title url}}*** ({{#if publisher}}{{stringOrObject publisher "name"}}, {{/if}}{{date date}}) | ||||||
| ### [{{{ title }}}]({{{ url }}}) ({{date date}}) |  | ||||||
| {{else}} |  | ||||||
| ### {{{ title }}} ({{date date}}) |  | ||||||
| {{/if}} |  | ||||||
|  |  | ||||||
| {{{ summary }}} | {{{ summary }}} | ||||||
|  |  | ||||||
| {{/each}} | {{/each}} | ||||||
|   | |||||||
| @@ -3,7 +3,8 @@ | |||||||
|  |  | ||||||
| {{#each r.extracurricular }} | {{#each r.extracurricular }} | ||||||
| {{{ title }}}, {{{ activity }}} ({{dateRange .}}) | {{{ title }}}, {{{ activity }}} ({{dateRange .}}) | ||||||
| {{{ summary }}} | {{#if summary}}{{{ summary }}} | ||||||
|  | {{/if}} | ||||||
| {{#if highlights}} | {{#if highlights}} | ||||||
| {{#each highlights}} | {{#each highlights}} | ||||||
| - {{{ this }}} | - {{{ this }}} | ||||||
|   | |||||||
| @@ -3,15 +3,13 @@ | |||||||
|  |  | ||||||
| {{#each r.governance }} | {{#each r.governance }} | ||||||
| {{#if role}}{{{ role }}}, {{/if}}{{{ organization }}}{{#has 'start'}} ({{dateRange .}}){{/has}} | {{#if role}}{{{ role }}}, {{/if}}{{{ organization }}}{{#has 'start'}} ({{dateRange .}}){{/has}} | ||||||
| {{~#if summary}} | {{#if summary}}{{{ summary }}} | ||||||
|  | {{/if}} | ||||||
| {{{ summary }}}{{/if}} | {{#if highlights}} | ||||||
|  |  | ||||||
| {{~#if highlights}} |  | ||||||
|  |  | ||||||
| {{#each highlights}} | {{#each highlights}} | ||||||
| - {{{ this }}} | - {{{ this }}} | ||||||
| {{/each}}{{/if}} | {{/each}} | ||||||
|  | {{/if}} | ||||||
|  |  | ||||||
| {{/each}} | {{/each}} | ||||||
| {{/section}} | {{/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 }} | {{#each r.samples }} | ||||||
| {{{ title }}} ({{date date}}) | {{{ title }}} ({{date date}}) | ||||||
|  |  | ||||||
| {{{ summary }}} | {{{ summary }}} | ||||||
| {{#if highlights}} | {{#if highlights}} | ||||||
| {{#each highlights}} | {{#each highlights}} | ||||||
|   | |||||||
| @@ -4,4 +4,5 @@ | |||||||
| {{#each r.skills.sets}} | {{#each r.skills.sets}} | ||||||
| - {{{ name }}}: {{#each skills}}{{{ . }}} {{/each}} | - {{{ name }}}: {{#each skills}}{{{ . }}} {{/each}} | ||||||
| {{/each}} | {{/each}} | ||||||
|  |  | ||||||
| {{/section}} | {{/section}} | ||||||
|   | |||||||
| @@ -2,7 +2,7 @@ | |||||||
| {{{sectionTitle "WRITING"}}} ------------------------------------------------------------------------ | {{{sectionTitle "WRITING"}}} ------------------------------------------------------------------------ | ||||||
|  |  | ||||||
| {{#each r.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 summary}}{{{ summary }}} | ||||||
| {{/if}} | {{/if}} | ||||||
|  |  | ||||||
|   | |||||||
| @@ -4,6 +4,7 @@ | |||||||
| {{#has 'contact.website' }}Web: {{{ r.contact.website }}}{{/has}} | {{#has 'contact.website' }}Web: {{{ r.contact.website }}}{{/has}} | ||||||
| ================================================================================ | ================================================================================ | ||||||
|  |  | ||||||
|  |  | ||||||
| {{> section/info }} | {{> section/info }} | ||||||
|  |  | ||||||
| {{> section/skills }} | {{> section/skills }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user