minor updates and fixes
This commit is contained in:
parent
c2f7e3fdd6
commit
a80e7bd8f8
2 changed files with 14 additions and 11 deletions
|
@ -141,16 +141,5 @@ $('.gallery').magnificPopup({
|
|||
});
|
||||
</script>
|
||||
{% endif %}
|
||||
<img src=
|
||||
"https://media.geeksforgeeks.org/wp-content/uploads/20200122115631/GeeksforGeeks210.png"/>
|
||||
<div>
|
||||
<button onclick="darkMode()">Darkmode</button>
|
||||
</div>
|
||||
<script>
|
||||
function darkMode() {
|
||||
var element = document.body;
|
||||
element.classList.toggle("dark-mode");
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -160,6 +160,20 @@
|
|||
</section>
|
||||
{% endif %}
|
||||
|
||||
{% if THEME_DARKMODE == 1 %}
|
||||
<img src="https://media.geeksforgeeks.org/wp-content/uploads/20200122115631/GeeksforGeeks210.png"/>
|
||||
<div>
|
||||
<button onclick="darkMode()">Darkmode</button>
|
||||
</div>
|
||||
<script>
|
||||
function darkMode() {
|
||||
var element = document.body;
|
||||
element.classList.toggle("dark-mode");
|
||||
}
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
|
||||
<!-- Footer -->
|
||||
<footer id="footer">
|
||||
<p class="copyright">© Untitled. All rights reserved. Original design inspired by: <a href="https://html5up.net">HTML5 UP</a>. <br />
|
||||
|
|
Loading…
Reference in a new issue