1
0
mirror of https://github.com/JuanCanham/fresh-themes.git synced 2024-11-16 21:40:10 +00:00
fresh-themes/partials
2016-01-13 10:03:22 -05:00
..
doc Partials: Strip commented markup. 2016-01-13 10:03:22 -05:00
html Partials: HTML: Remove extraneous "|". 2016-01-12 21:54:43 -05:00
md/section Improve consistency of Markdown partials. 2016-01-11 19:04:56 -05:00
txt/section Introduce TXT section partials. 2016-01-11 19:54:44 -05:00
README.md Introduce README for partials folder. 2016-01-11 09:28:21 -05:00

fresh-themes/assets/partials

This folder contains global partials available to all FRESH themes. A global partial is a reusable fragment of HTML, XML, or other markup that can be injected into your theme.

Use

To load a global partial, use the following syntax in your theme:

{{> section/[section-name] }}

For example:

{{> section/employment }}
{{> section/projects }}
{{> section/employment }}

Currently two types of global partials are available:

  • Section partials (DOC and HTML formats) that represent a specific resume section.
  • Icon partials for DOC formats that make it a bit easier to embed images in the MS Word resume format.

Many more will be supported in the future.

Overriding

Themes can also declare theme-specific partials located in the theme's /partials folder (if any).