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' %}" /> <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">
&copy; {% now "Y" %} TheOrangeOne <div class="container">
<a class="grey-text text-lighten-4 right" href="#top">Top</a> &copy; {% 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>

View file

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