Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/onweru/newsroom.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorweru <onewesh@gmail.com>2019-10-09 02:42:19 +0300
committerweru <onewesh@gmail.com>2019-10-09 02:42:19 +0300
commitc4924072430e7355465fcdd777afcc1850851ed6 (patch)
tree9d55c37ef599618bfe69949eb1de16232ccbba45
parent72133da80849bd9425049e5f367e20cebe5b2d1b (diff)
add color scheme toggle partial
-rw-r--r--layouts/partials/mode.html3
-rw-r--r--layouts/partials/nav.html1
2 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/mode.html b/layouts/partials/mode.html
new file mode 100644
index 0000000..01489d7
--- /dev/null
+++ b/layouts/partials/mode.html
@@ -0,0 +1,3 @@
+<div class = 'color_mode'>
+ <div class = 'color_choice'></div>
+</div>
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
index e79131b..177657f 100644
--- a/layouts/partials/nav.html
+++ b/layouts/partials/nav.html
@@ -4,6 +4,7 @@
<a href = '{{ absURL .url }}' class = 'nav_item'>{{ .item }}</a>
{{ end }}
<div class = 'nav-close'></div>
+ {{ partial "mode.html" . }}
</div>
</div>
{{ partial "header.html" . }}