Add author sidebar disabled and custom sidebar content sample posts
This commit is contained in:
		
							
								
								
									
										9
									
								
								_posts/2012-03-15-template-author-sidebar-disabled.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								_posts/2012-03-15-template-author-sidebar-disabled.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,9 @@ | ||||
| --- | ||||
| title: "Template: Author Sidebar Disabled" | ||||
| excerpt: "A post to test disabling author sidebar." | ||||
| author_profile: false | ||||
| --- | ||||
|  | ||||
| This post has the author sidebar disabled. | ||||
|  | ||||
| To disable add `author_profile: false` to YAML Front Matter. | ||||
							
								
								
									
										26
									
								
								_posts/2012-03-15-template-sidebar-custom.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								_posts/2012-03-15-template-sidebar-custom.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| --- | ||||
| title: "Template: Sidebar Custom" | ||||
| excerpt: "A post to custom sidebar content." | ||||
| author_profile: false | ||||
| sidebar: | ||||
|   - title: "Title" | ||||
|     image: http://placehold.it/350x250 | ||||
|     image_alt: "image" | ||||
|     text: "Some text here." | ||||
|   - title: "Another Title" | ||||
|     text: "More text here." | ||||
| --- | ||||
|  | ||||
| This post has a custom sidebar set in the post's YAML Front Matter.. | ||||
|  | ||||
| An example of how that YAML could look is: | ||||
|  | ||||
| ```yaml | ||||
| sidebar: | ||||
|   - title: "Title" | ||||
|     image: http://placehold.it/350x250 | ||||
|     image_alt: "image" | ||||
|     text: "Some text here." | ||||
|   - title: "Another Title" | ||||
|     text: "More text here." | ||||
| ``` | ||||
		Reference in New Issue
	
	Block a user
	 Michael Rose
					Michael Rose