1
Fork 0

Move footer to external file

This commit is contained in:
Jake Howard 2016-05-22 18:31:47 +01:00
parent 75e0cbce4c
commit abc1a8e4e1
Signed by: jake
GPG key ID: 57AFB45680EDD477
3 changed files with 37 additions and 35 deletions

View file

@ -1,6 +1,7 @@
footer { footer {
margin-top: 20px;
background-color: $brand-grey-dark; background-color: $brand-grey-dark;
padding-top: 30px; padding-top: 20px;
width: 100%; width: 100%;
height: $footer-height; height: $footer-height;
text-align: center; text-align: center;

View file

@ -1,11 +1,11 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content=""> <meta name="description" content="" />
<meta name="author" content=""> <meta name="author" content="" />
<title>{% block htmltitle %}Page{% endblock%} - {{ SITENAME }}</title> <title>{% block htmltitle %}Page{% endblock%} - {{ SITENAME }}</title>
@ -18,35 +18,7 @@
{% block content %}{% endblock %} {% block content %}{% endblock %}
<footer> {% include "extras/footer.html" %}
<div class="container">
<div class="row">
<div class="col-xs-12">
<p class="social">
{% for key, link in SOCIAL.items()|sort %}
<a href="{{ link.url }}"><i class="fa {{ link.icon }}"></i></a>
{% endfor %}
</p>
</div>
</div>
<div class="row">
<div class="col-xs-12 powered-by">
<p>
Powered by <a href="http://blog.getpelican.com/">Pelican</a>,
<a href="https://clients.inceptionhosting.com/aff.php?aff=256">Inception Hosting</a>,
and a whole heap of <a href="https://github.com/RealOrangeOne/theorangeone.net">Magic</a>!
</p>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<a href="https://circleci.com/gh/RealOrangeOne/theorangeone.net">
<img class="ci-badge" src="https://circleci.com/gh/RealOrangeOne/theorangeone.net.svg?style=svg" alt="CI Badge" />
</a>
</div>
</div>
</div>
</footer>
<script src="/static/js/jquery.js"></script> <script src="/static/js/jquery.js"></script>
<script src="/static/js/libs.js"></script> <script src="/static/js/libs.js"></script>

View file

@ -0,0 +1,29 @@
<footer>
<div class="container">
<div class="row">
<div class="col-xs-12">
<p class="social">
{% for key, link in SOCIAL.items()|sort %}
<a href="{{ link.url }}"><i class="fa {{ link.icon }}"></i></a>
{% endfor %}
</p>
</div>
</div>
<div class="row">
<div class="col-xs-12 powered-by">
<p>
Powered by <a href="http://blog.getpelican.com/">Pelican</a>,
<a href="https://clients.inceptionhosting.com/aff.php?aff=256">Inception Hosting</a>,
and a whole heap of <a href="https://github.com/RealOrangeOne/theorangeone.net">Magic</a>!
</p>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<a href="https://circleci.com/gh/RealOrangeOne/theorangeone.net">
<img class="ci-badge" src="https://circleci.com/gh/RealOrangeOne/theorangeone.net.svg?style=svg" alt="CI Badge" />
</a>
</div>
</div>
</div>
</footer>