fix alignment issue in footer
This commit is contained in:
parent
7e41ef70d8
commit
3e8aeaa35b
2 changed files with 14 additions and 12 deletions
|
@ -1,6 +1,7 @@
|
|||
<footer>
|
||||
<div class="footer-content">
|
||||
<div class="contact-info">
|
||||
{{if (or (isset .Site.Params "mail") (isset .Site.Params "phone") ) }}
|
||||
<div class="contact-info">
|
||||
{{with .Site.Params.mail}}
|
||||
<div class="footer-mail">
|
||||
<i class="far fa-envelope"></i> <a href="mailto:{{.}}">{{.}}</a> </div>
|
||||
|
@ -10,7 +11,8 @@
|
|||
<i class="fas fa-phone"></i> {{.}}
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
{{end}}
|
||||
{{with .Site.Copyright}}
|
||||
<p class="copyright meta">{{.}}</p>
|
||||
{{end}}
|
||||
|
|
|
@ -316,7 +316,7 @@ footer{
|
|||
margin: auto;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue