mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	home-info, profile-mode: enable markdownify for text elements
This commit is contained in:
		| @@ -1,7 +1,7 @@ | |||||||
| {{- with $.Site.Params.homeInfoParams }} | {{- with $.Site.Params.homeInfoParams }} | ||||||
| <article class="first-entry home-info"> | <article class="first-entry home-info"> | ||||||
|     <header class="entry-header"> |     <header class="entry-header"> | ||||||
|         <h2>{{- .Title }}</h2> |         <h2>{{- .Title | markdownify }}</h2> | ||||||
|     </header> |     </header> | ||||||
|     <section class="entry-content"> |     <section class="entry-content"> | ||||||
|         <p>{{- .Content | markdownify }}</p> |         <p>{{- .Content | markdownify }}</p> | ||||||
|   | |||||||
| @@ -2,8 +2,8 @@ | |||||||
|     {{- with .Site.Params.profileMode }} |     {{- with .Site.Params.profileMode }} | ||||||
|     <div class="profile_inner"> |     <div class="profile_inner"> | ||||||
|         {{- if .imageUrl}}<img src="{{ .imageUrl}}" alt="{{ .imageTitle | default "profile image" }}" />{{- end}} |         {{- if .imageUrl}}<img src="{{ .imageUrl}}" alt="{{ .imageTitle | default "profile image" }}" />{{- end}} | ||||||
|         <h1>{{- .title | default $.Site.Title -}}</h1> |         <h1>{{- .title | default $.Site.Title | markdownify -}}</h1> | ||||||
|         <span>{{- .subtitle -}}</span> |         <span>{{- .subtitle | markdownify -}}</span> | ||||||
|         {{- partial "social_icons.html" $.Site.Params.socialIcons -}} |         {{- partial "social_icons.html" $.Site.Params.socialIcons -}} | ||||||
|  |  | ||||||
|         {{- with .buttons }} |         {{- with .buttons }} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange