fix alignment issue in footer

This commit is contained in:
saadnpq 2020-05-15 22:21:03 +02:00
parent 7e41ef70d8
commit 3e8aeaa35b
2 changed files with 14 additions and 12 deletions

View file

@ -1,5 +1,6 @@
<footer> <footer>
<div class="footer-content"> <div class="footer-content">
{{if (or (isset .Site.Params "mail") (isset .Site.Params "phone") ) }}
<div class="contact-info"> <div class="contact-info">
{{with .Site.Params.mail}} {{with .Site.Params.mail}}
<div class="footer-mail"> <div class="footer-mail">
@ -11,6 +12,7 @@
</div> </div>
{{end}} {{end}}
</div> </div>
{{end}}
{{with .Site.Copyright}} {{with .Site.Copyright}}
<p class="copyright meta">{{.}}</p> <p class="copyright meta">{{.}}</p>
{{end}} {{end}}

View file

@ -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;
} }