mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 19:35:26 +01:00 
			
		
		
		
	Add option to use 1st entry as some Information
Currenty supports 2 vals Title and Content
Great for short intro for bloggers
can be enabled by using `Params.homeInfoParams`
    homeInfoParams:
      enabled: true
      Title: Hi there 👋
      Content: This is Content !! Can be Info, links, social-icons...
			
			
This commit is contained in:
		
							
								
								
									
										10
									
								
								layouts/partials/homeInfo.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								layouts/partials/homeInfo.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| {{ with $.Site.Params.homeInfoParams }} | ||||
| <article class="first-entry"> | ||||
|     <header class="entry-header"> | ||||
|         <h2>{{ .Title }}</h2> | ||||
|     </header> | ||||
|     <section class="entry-content"> | ||||
|         <p>{{ .Content | plainify | htmlUnescape }}...</p> | ||||
|     </section> | ||||
| </article> | ||||
| {{end}} | ||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange