README fix
This commit is contained in:
		
							parent
							
								
									03639f641f
								
							
						
					
					
						commit
						6ab9d72fd5
					
				| @ -51,8 +51,6 @@ Page metadata will always override global metadata of the same key. | |||||||
| 
 | 
 | ||||||
| Templates come in two forms: markdown files with an `.md` extension or layout files with a `.layout` extension. Metadata can be bound to templates by using the `{{key}}` notation in your markdown and layout files. A `main.layout` file could look something like this: | Templates come in two forms: markdown files with an `.md` extension or layout files with a `.layout` extension. Metadata can be bound to templates by using the `{{key}}` notation in your markdown and layout files. A `main.layout` file could look something like this: | ||||||
| 
 | 
 | ||||||
| `{{{yield}}}` is a special tag that renders the markdown page content within the layout. `{{{yield}}}` can only be used in the `main.layout` file. |  | ||||||
| 
 |  | ||||||
|     <!DOCTYPE html> |     <!DOCTYPE html> | ||||||
|     <html lang="en"> |     <html lang="en"> | ||||||
|       <head> |       <head> | ||||||
| @ -73,6 +71,8 @@ Templates come in two forms: markdown files with an `.md` extension or layout fi | |||||||
|       </body> |       </body> | ||||||
|     </html> |     </html> | ||||||
| 
 | 
 | ||||||
|  | `{{{yield}}}` is a special tag that renders the markdown page content within the layout. `{{{yield}}}` can only be used in the `main.layout` file. | ||||||
|  | 
 | ||||||
| ### Helpers | ### Helpers | ||||||
| 
 | 
 | ||||||
| The `helpers.awk` file is an awk script that can make custom data available to your templates. You also have access to the page and global data. Here is a peak at the script included in the examples folder: | The `helpers.awk` file is an awk script that can make custom data available to your templates. You also have access to the page and global data. Here is a peak at the script included in the examples folder: | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 nuex
						nuex