diff options
author | weru <onewesh@gmail.com> | 2019-10-09 02:42:19 +0300 |
---|---|---|
committer | weru <onewesh@gmail.com> | 2019-10-09 02:42:19 +0300 |
commit | c4924072430e7355465fcdd777afcc1850851ed6 (patch) | |
tree | 9d55c37ef599618bfe69949eb1de16232ccbba45 | |
parent | 72133da80849bd9425049e5f367e20cebe5b2d1b (diff) |
add color scheme toggle partial
-rw-r--r-- | layouts/partials/mode.html | 3 | ||||
-rw-r--r-- | layouts/partials/nav.html | 1 |
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" . }} |