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