mirror of
				https://github.com/ItsDrike/itsdrike.com.git
				synced 2025-11-04 04:06:36 +00:00 
			
		
		
		
	Add simple footer
This commit is contained in:
		
							parent
							
								
									230834fd9f
								
							
						
					
					
						commit
						5806b8fc7b
					
				
					 3 changed files with 34 additions and 0 deletions
				
			
		| 
						 | 
					@ -34,3 +34,16 @@ accounts:
 | 
				
			||||||
    name: Codin' Nerds
 | 
					    name: Codin' Nerds
 | 
				
			||||||
    username: Codin' Nerds
 | 
					    username: Codin' Nerds
 | 
				
			||||||
    links: https://discord.gg/B8rf3xxgbJ
 | 
					    links: https://discord.gg/B8rf3xxgbJ
 | 
				
			||||||
 | 
					    icon: fab fa-discord
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  email:
 | 
				
			||||||
 | 
					    name: email
 | 
				
			||||||
 | 
					    username: itsdrike@protonmail.com
 | 
				
			||||||
 | 
					    links: "mailto:itsdrike@protonmail.com"
 | 
				
			||||||
 | 
					    icon: fas fa-at
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					footer_accounts:
 | 
				
			||||||
 | 
					  - github
 | 
				
			||||||
 | 
					  - stack-overflow
 | 
				
			||||||
 | 
					  - email
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -10,6 +10,7 @@
 | 
				
			||||||
    </head>
 | 
					    </head>
 | 
				
			||||||
    <body>
 | 
					    <body>
 | 
				
			||||||
        {{ block "main" . }}{{ end }}
 | 
					        {{ block "main" . }}{{ end }}
 | 
				
			||||||
 | 
					        {{ partial "footer.html" . }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        {{ partial "script_async.html" "js/bootstrap.min.js" }}
 | 
					        {{ partial "script_async.html" "js/bootstrap.min.js" }}
 | 
				
			||||||
        {{ block "scripts_extra" . }}{{ end }}
 | 
					        {{ block "scripts_extra" . }}{{ end }}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										20
									
								
								layouts/partials/footer.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								layouts/partials/footer.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,20 @@
 | 
				
			||||||
 | 
					<footer class="p-5">
 | 
				
			||||||
 | 
					    <div class="container">
 | 
				
			||||||
 | 
					        <div class="row">
 | 
				
			||||||
 | 
					            <div class="col-sm-9">
 | 
				
			||||||
 | 
					                <p>© {{ now.Year }} <a href='{{ ref . "contact" }}'>{{ .Site.Title }}</a>.</p>
 | 
				
			||||||
 | 
					                <p></p>
 | 
				
			||||||
 | 
					            </div>
 | 
				
			||||||
 | 
					            <div class="col-sm-3">
 | 
				
			||||||
 | 
					                <h3 class="text-right">
 | 
				
			||||||
 | 
					                    {{ range .Site.Data.social.footer_accounts }}
 | 
				
			||||||
 | 
					                        {{ $account := index $.Site.Data.social.accounts . }}
 | 
				
			||||||
 | 
					                        <a href="{{ $account.link }}">
 | 
				
			||||||
 | 
					                            <i class="mx-1 {{ $account.icon }}" aria-hidden="true" title="{{ $account.name }}"></i>
 | 
				
			||||||
 | 
					                        </a>
 | 
				
			||||||
 | 
					                    {{ end }}
 | 
				
			||||||
 | 
					                </h3>
 | 
				
			||||||
 | 
					            </div>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					    </div>
 | 
				
			||||||
 | 
					</footer>
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue