1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2025-06-07 04:46:16 +01: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
10 changed files with 20 additions and 22 deletions

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}}