mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 19:35:26 +01:00 
			
		
		
		
	homeInfo : add socialIcons at bottom
* can be disabled by not having Params.socialIcons as variable * profileMode overrides homeInfo mode
This commit is contained in:
		| @@ -88,4 +88,10 @@ | |||||||
|     display: inline; |     display: inline; | ||||||
|     color: var(--secondary); |     color: var(--secondary); | ||||||
|     font-size: 14px; |     font-size: 14px; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .social-icons a { | ||||||
|  |     margin: 2px; | ||||||
|  |     padding: 6px; | ||||||
|  |     font-size: 1.4em; | ||||||
| } | } | ||||||
| @@ -31,9 +31,3 @@ img { | |||||||
| .social-icons { | .social-icons { | ||||||
|     padding: 16px; |     padding: 16px; | ||||||
| } | } | ||||||
|  |  | ||||||
| .social-icons a { |  | ||||||
|     margin: 2px; |  | ||||||
|     padding: 6px; |  | ||||||
|     font-size: 1.4em; |  | ||||||
| } |  | ||||||
| @@ -6,5 +6,10 @@ | |||||||
|     <section class="entry-content"> |     <section class="entry-content"> | ||||||
|         <p>{{ .Content | plainify | htmlUnescape }}</p> |         <p>{{ .Content | plainify | htmlUnescape }}</p> | ||||||
|     </section> |     </section> | ||||||
|  |     {{- with $.Site.Params.socialIcons }} | ||||||
|  |     <div class="social-icons"> | ||||||
|  |         {{ partial "social-icons.html" . }} | ||||||
|  |     </div> | ||||||
|  |     {{- end }} | ||||||
| </article> | </article> | ||||||
| {{end}} | {{end}} | ||||||
		Reference in New Issue
	
	Block a user
	 Aditya Telange
					Aditya Telange