summaryrefslogtreecommitdiff
path: root/themes/elenq/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/elenq/templates/base.html')
-rw-r--r--themes/elenq/templates/base.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/elenq/templates/base.html b/themes/elenq/templates/base.html
index 79973e1..c0f2811 100644
--- a/themes/elenq/templates/base.html
+++ b/themes/elenq/templates/base.html
@@ -38,6 +38,7 @@
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/prism.css">
<script type="text/javascript" async src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/prism-hl.js"></script>
+ <script type="text/javascript" async src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/colorscheme-switcher.js"></script>
</head>
<body id="index" class="home">
@@ -61,6 +62,10 @@
<a class="navbar-link link-right {% if pg == page %}active{% endif %}" href="{{ SITEURL }}/{{ pg.url }}">{{ pg.title }}</a>
{% endfor %}
{% endif %}
+ <button name="switch" id="dark-light-switch" class="navbar-link link-right" title="Toggle dark or light colorscheme">
+ {% include "_sun.svg" %}
+ {% include "_moon.svg" %}
+ </button>
</div>
</nav>
</div>