mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	social icons refactor Params.socialIcons
This commit is contained in:
		| @@ -7,7 +7,7 @@ | ||||
|         {{ .Content | markdownify }} | ||||
|     </div> | ||||
|     <footer class="entry-footer"> | ||||
|         {{ partial "social_icons.html" site.Params.socialIcons }} | ||||
|         {{ partial "social_icons.html" }} | ||||
|     </footer> | ||||
| </article> | ||||
| {{- end -}} | ||||
|   | ||||
| @@ -32,7 +32,7 @@ | ||||
|         {{- end }} | ||||
|         <h1>{{ .title | default site.Title | markdownify }}</h1> | ||||
|         <span>{{ .subtitle | markdownify }}</span> | ||||
|         {{- partial "social_icons.html" site.Params.socialIcons -}} | ||||
|         {{- partial "social_icons.html" -}} | ||||
|  | ||||
|         {{- with .buttons }} | ||||
|         <div class="buttons"> | ||||
|   | ||||
| @@ -1,6 +1,7 @@ | ||||
| <div class="social-icons"> | ||||
|     {{- range . }} | ||||
|     <a href="{{ trim .url " " | safeURL }}" target="_blank" rel="noopener noreferrer me" title="{{ (.title | default .name) | title }}"> | ||||
|     {{- range site.Params.socialIcons }} | ||||
|     <a href="{{ trim .url " " | safeURL }}" target="_blank" rel="noopener noreferrer me" | ||||
|         title="{{ (.title | default .name) | title }}"> | ||||
|         {{ partial "svg.html" . }} | ||||
|     </a> | ||||
|     {{- end }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange