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' %}" />
|
<link rel="stylesheet" href="{% static 'css/index.css' %}" />
|
||||||
</head>
|
</head>
|
||||||
<body class="{{ view_name }}">
|
<body class="{{ view_name }}">
|
||||||
|
|
||||||
<header id="top">
|
<header id="top">
|
||||||
<nav>
|
<nav>
|
||||||
<div class="nav-wrapper black">
|
<div class="nav-wrapper black">
|
||||||
|
@ -35,7 +34,6 @@
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
|
@ -43,14 +41,16 @@
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer class="page-footer black">
|
{% block footer %}
|
||||||
<div class="footer-copyright">
|
<footer class="page-footer black">
|
||||||
<div class="container">
|
<div class="footer-copyright">
|
||||||
© {% now "Y" %} TheOrangeOne
|
<div class="container">
|
||||||
<a class="grey-text text-lighten-4 right" href="#top">Top</a>
|
© {% now "Y" %} TheOrangeOne
|
||||||
|
<a class="grey-text text-lighten-4 right" href="#top">Top</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</footer>
|
||||||
</footer>
|
{% endblock %}
|
||||||
|
|
||||||
<script type="text/javascript" src="{% static 'js/materialize.min.js' %}"></script>
|
<script type="text/javascript" src="{% static 'js/materialize.min.js' %}"></script>
|
||||||
<script type="text/javascript" src="{% static 'js/index.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>
|
<p class="flow-text">Part Developer. Part SysAdmin. Part InfoSec. All Nerd!</p>
|
||||||
</div>
|
</div>
|
||||||
{% endblock%}
|
{% endblock%}
|
||||||
|
|
||||||
|
{% block footer %}{% endblock %}
|
||||||
|
|
Reference in a new issue