83 lines
		
	
	
		
			3.6 KiB
		
	
	
	
		
			HTML
		
	
	
			
		
		
	
	
			83 lines
		
	
	
		
			3.6 KiB
		
	
	
	
		
			HTML
		
	
	
{{ if or (and .IsHome .Site.Params.displayFooterInHome) (and (not .IsHome) (.Site.Params.displayFooter | default .Site.Params.enableFooter)) }}
 | 
						||
    <footer id="footer" class="footer">
 | 
						||
        <div class="footer-inner">
 | 
						||
            <div class="site-info">
 | 
						||
              {{- if .Site.Params.displayCopyleftSymbol -}}
 | 
						||
                  <span class="copyleft-symbol">🄯</span> 
 | 
						||
              {{- end -}}
 | 
						||
              {{- if .Site.Params.displayCopyrightSymbol -}}
 | 
						||
                  © 
 | 
						||
              {{- end -}}
 | 
						||
 | 
						||
              {{- if .Site.Params.displaySiteCreatedYear -}}
 | 
						||
                  {{- dateFormat "2006" (time .Site.Params.siteCreatedTime) -}}–
 | 
						||
              {{- end -}}
 | 
						||
              {{- now.Format "2006" -}}
 | 
						||
 | 
						||
              {{- with .Site.Params.iconBetweenYearAndAuthor -}}
 | 
						||
                   {{- partial "utils/icon.html" (dict "$" $ "name" . "class" "footer-icon") -}} 
 | 
						||
              {{- else -}}
 | 
						||
                   
 | 
						||
              {{- end -}}
 | 
						||
 | 
						||
              {{- .Site.Author.name -}}
 | 
						||
            </div>
 | 
						||
 | 
						||
            {{- if .Site.Params.displayPoweredBy }}
 | 
						||
                {{- $raw := `Powered by [Hugo](https://github.com/gohugoio/hugo) | Theme is [MemE](https://github.com/reuixiy/hugo-theme-meme)` -}}
 | 
						||
                <div class="powered-by">{{ partial "utils/markdownify.html" (dict "$" $ "raw" $raw "isContent" false) }}</div>
 | 
						||
            {{- end }}
 | 
						||
 | 
						||
            {{- if .Site.Params.displaySiteCopyright }}
 | 
						||
                {{- $raw := .Site.Copyright -}}
 | 
						||
                <div class="site-copyright">{{ partial "utils/markdownify.html" (dict "$" $ "raw" $raw "isContent" false) }}</div>
 | 
						||
            {{- end }}
 | 
						||
 | 
						||
            {{- with .Site.Params.customFooter }}
 | 
						||
                {{- $raw := . -}}
 | 
						||
                <div class="custom-footer">{{ partial "utils/markdownify.html" (dict "$" $ "raw" $raw "isContent" false) }}</div>
 | 
						||
            {{- end }}
 | 
						||
 | 
						||
            {{- if and .Site.Params.displayBusuanziSiteUVAndPV (eq hugo.Environment "production") }}
 | 
						||
                <div class="busuanzi-site-uv-and-pv">
 | 
						||
                    <span id="busuanzi_container_site_uv">
 | 
						||
                        {{- with .Site.Params.busuanziSiteUVText -}}
 | 
						||
                            {{- . -}}
 | 
						||
                             
 | 
						||
                        {{- end -}}
 | 
						||
 | 
						||
                        {{- with .Site.Params.busuanziSiteUVIcon -}}
 | 
						||
                            {{- partial "utils/icon.html" (dict "$" $ "name" $.Site.Params.busuanziSiteUVIcon "class" "busuanzi-site-uv") -}}
 | 
						||
                             
 | 
						||
                        {{- end -}}
 | 
						||
 | 
						||
                        <!-- Avoid extra spaces -->
 | 
						||
                        {{- print `<span id="busuanzi_value_site_uv"></span>` | safeHTML -}}
 | 
						||
                    </span>
 | 
						||
 | 
						||
                    {{- print " | " | safeHTML -}}
 | 
						||
 | 
						||
                    <span id="busuanzi_container_site_pv">
 | 
						||
                        {{- with .Site.Params.busuanziSitePVText -}}
 | 
						||
                            {{- . -}}
 | 
						||
                             
 | 
						||
                        {{- end -}}
 | 
						||
 | 
						||
                        {{- with .Site.Params.busuanziSitePVIcon -}}
 | 
						||
                            {{- partial "utils/icon.html" (dict "$" $ "name" $.Site.Params.busuanziSitePVIcon "class" "busuanzi-site-pv") -}}
 | 
						||
                             
 | 
						||
                        {{- end -}}
 | 
						||
 | 
						||
                        <!-- Avoid extra spaces -->
 | 
						||
                        {{- print `<span id="busuanzi_value_site_pv"></span>` | safeHTML -}}
 | 
						||
                    </span>
 | 
						||
                </div>
 | 
						||
            {{- end }}
 | 
						||
 | 
						||
            {{ partial "components/socials.html" . }}
 | 
						||
 | 
						||
            {{ partial "custom/footer.html" . }}
 | 
						||
        </div>
 | 
						||
    </footer>
 | 
						||
{{ end }}
 |