mirror of
				https://github.com/adityatelange/hugo-PaperMod.git
				synced 2025-11-04 02:12:49 +01:00 
			
		
		
		
	profile-mode : include social icons
usage : in config
 params:
   profileMode:
     socialIcons:
       - name: "<platform>"
         url: : "<link>"
			
			
This commit is contained in:
		@@ -9,6 +9,11 @@
 | 
			
		||||
    </div>
 | 
			
		||||
    {{end}}
 | 
			
		||||
    <h1>{{ if .Site.Params.profileMode.title }}{{.Site.Params.profileMode.title}}{{ else }}{{ .Site.Title }}{{end}}</h1>
 | 
			
		||||
    {{- with .Site.Params.profileMode.socialIcons }}
 | 
			
		||||
    <div class="social-icons">
 | 
			
		||||
      {{ partial "social-icons.html" . }}
 | 
			
		||||
    </div>
 | 
			
		||||
    {{- end }}
 | 
			
		||||
  </div>
 | 
			
		||||
</div>
 | 
			
		||||
{{else}} {{/* if not profileMode */}}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user