1
Fork 0

Hide footer on homepage

This commit is contained in:
Jake Howard 2020-05-02 11:45:57 +01:00
parent 19716c31fa
commit c07394768e
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 11 additions and 9 deletions

View file

@ -17,7 +17,6 @@
<link rel="stylesheet" href="{% static 'css/index.css' %}" />
</head>
<body class="{{ view_name }}">
<header id="top">
<nav>
<div class="nav-wrapper black">
@ -35,7 +34,6 @@
</header>
<main>
{% block main %}
<div class="container">
{% block content %}{% endblock %}
@ -43,14 +41,16 @@
{% endblock %}
</main>
<footer class="page-footer black">
<div class="footer-copyright">
<div class="container">
&copy; {% now "Y" %} TheOrangeOne
<a class="grey-text text-lighten-4 right" href="#top">Top</a>
{% block footer %}
<footer class="page-footer black">
<div class="footer-copyright">
<div class="container">
&copy; {% now "Y" %} TheOrangeOne
<a class="grey-text text-lighten-4 right" href="#top">Top</a>
</div>
</div>
</div>
</footer>
</footer>
{% endblock %}
<script type="text/javascript" src="{% static 'js/materialize.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/index.js' %}"></script>

View file

@ -10,3 +10,5 @@
<p class="flow-text">Part Developer. Part SysAdmin. Part InfoSec. All Nerd!</p>
</div>
{% endblock%}
{% block footer %}{% endblock %}