mirror of
				https://github.com/JuanCanham/fresh-themes.git
				synced 2025-11-03 22:37:26 +00:00 
			
		
		
		
	Drop /partials README.
This commit is contained in:
		@@ -1,35 +0,0 @@
 | 
				
			|||||||
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).
 | 
					 | 
				
			||||||
		Reference in New Issue
	
	Block a user