Hide footer on homepage
This commit is contained in:
parent
19716c31fa
commit
c07394768e
2 changed files with 11 additions and 9 deletions
|
@ -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">
|
||||
© {% 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">
|
||||
© {% 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>
|
||||
|
|
|
@ -10,3 +10,5 @@
|
|||
<p class="flow-text">Part Developer. Part SysAdmin. Part InfoSec. All Nerd!</p>
|
||||
</div>
|
||||
{% endblock%}
|
||||
|
||||
{% block footer %}{% endblock %}
|
||||
|
|
Reference in a new issue