From 201adca8d98d680e8065c5f93d98135a5b84405a Mon Sep 17 00:00:00 2001 From: hacksalot Date: Mon, 11 Jan 2016 09:28:21 -0500 Subject: [PATCH] Introduce README for partials folder. --- partials/README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 partials/README.md diff --git a/partials/README.md b/partials/README.md new file mode 100644 index 0000000..9a88493 --- /dev/null +++ b/partials/README.md @@ -0,0 +1,35 @@ +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: + +```hbs +{{> section/[section-name] }} +``` + +For example: + +```hbs +{{> 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).