mirror of
				https://github.com/ZetaKebab/kesper.git
				synced 2025-11-04 08:09:49 +00:00 
			
		
		
		
	Added support for hidden title and feature image on pages (#943)
* Added support for hidden title and feature image on pages Refs https://github.com/TryGhost/Product/issues/3568 * Switched from match to if helper for show_title_and_feature_image Refs https://github.com/TryGhost/Product/issues/3568
This commit is contained in:
		
							
								
								
									
										2
									
								
								page.hbs
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								page.hbs
									
									
									
									
									
								
							@@ -10,6 +10,7 @@ into the {body} tag of the default.hbs template --}}
 | 
				
			|||||||
<main id="site-main" class="site-main">
 | 
					<main id="site-main" class="site-main">
 | 
				
			||||||
<article class="article {{post_class}}">
 | 
					<article class="article {{post_class}}">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    {{#if show_title_and_feature_image}}
 | 
				
			||||||
        <header class="article-header gh-canvas">
 | 
					        <header class="article-header gh-canvas">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            <h1 class="article-title">{{title}}</h1>
 | 
					            <h1 class="article-title">{{title}}</h1>
 | 
				
			||||||
@@ -34,6 +35,7 @@ into the {body} tag of the default.hbs template --}}
 | 
				
			|||||||
            {{/if}}
 | 
					            {{/if}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        </header>
 | 
					        </header>
 | 
				
			||||||
 | 
					    {{/if}}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <section class="gh-content gh-canvas">
 | 
					    <section class="gh-content gh-canvas">
 | 
				
			||||||
        {{content}}
 | 
					        {{content}}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user