mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	social-icons: refactor
* use easier impl
This commit is contained in:
		| @@ -7,11 +7,7 @@ | ||||
|         <p>{{- .Content | markdownify }}</p> | ||||
|     </section> | ||||
|     <footer class="entry-footer"> | ||||
|         {{- with $.Site.Params.socialIcons }} | ||||
|         <div class="social-icons"> | ||||
|             {{- partial "social_icons.html" . }} | ||||
|         </div> | ||||
|         {{- end }} | ||||
|         {{- partial "social_icons.html" $.Site.Params.socialIcons -}} | ||||
|     </footer> | ||||
| </article> | ||||
| {{- end}} | ||||
| @@ -2,12 +2,10 @@ | ||||
|     {{- with .Site.Params.profileMode }} | ||||
|     <div class="profile_inner"> | ||||
|         {{- if .imageUrl}}<img src="{{ .imageUrl}}" alt="{{ .imageTitle | default "profile image" }}" />{{- end}} | ||||
|         <h1>{{ .title | default $.Site.Title }}</h1> | ||||
|         {{- with $.Site.Params.socialIcons }} | ||||
|         <div class="social-icons"> | ||||
|             {{ partial "social_icons.html" . }} | ||||
|         </div> | ||||
|         {{- end }} | ||||
|         <h1>{{- .title | default $.Site.Title -}}</h1> | ||||
|  | ||||
|         {{- partial "social_icons.html" $.Site.Params.socialIcons -}} | ||||
|  | ||||
|         {{- with .buttons }} | ||||
|         <div class="buttons"> | ||||
|             {{- range . -}} | ||||
|   | ||||
| @@ -1,4 +1,6 @@ | ||||
| {{- range . -}} | ||||
| <a href="{{ .url }}" target="_blank" rel="noopener noreferrer" | ||||
|     title="{{ .name | humanize }}">{{ partial "svg.html" . }}</a> | ||||
| {{- end -}} | ||||
| <div class="social-icons"> | ||||
|     {{- range . -}} | ||||
|     <a href="{{ .url }}" target="_blank" rel="noopener noreferrer" | ||||
|         title="{{ .name | humanize }}">{{ partial "svg.html" . }}</a> | ||||
|     {{- end -}} | ||||
| </div> | ||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange