From c8ba8c42c7e9f48d4a4309d31496a83ce0a46594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6kmen=20G=C3=B6rgen?= Date: Sun, 28 Jul 2019 18:20:51 +0200 Subject: dark mode support. --- .editorconfig | 5 +-- README.md | 11 ++---- layouts/_default/baseof.html | 6 +-- layouts/partials/footer.html | 69 +++++------------------------------ layouts/partials/footer_500px.html | 7 ++++ layouts/partials/footer_email.html | 7 ++++ layouts/partials/footer_facebook.html | 8 ++++ layouts/partials/footer_github.html | 7 ++++ layouts/partials/footer_gitlab.html | 7 ++++ layouts/partials/footer_linkedin.html | 7 ++++ layouts/partials/footer_mastodon.html | 8 ++++ layouts/partials/footer_rss.html | 7 ++++ layouts/partials/footer_telegram.html | 10 +++++ layouts/partials/footer_twitter.html | 7 ++++ static/css/highlight.css | 7 ++++ static/css/main.css | 29 ++++++++++++--- static/img/500px.svg | 2 - static/img/email.svg | 1 - static/img/facebook.svg | 51 -------------------------- static/img/github.svg | 1 - static/img/gitlab.svg | 2 - static/img/linkedin.svg | 1 - static/img/mastodon.svg | 4 -- static/img/rss.svg | 1 - static/img/telegram.svg | 17 --------- static/img/twitter.svg | 1 - 26 files changed, 124 insertions(+), 159 deletions(-) create mode 100644 layouts/partials/footer_500px.html create mode 100644 layouts/partials/footer_email.html create mode 100644 layouts/partials/footer_facebook.html create mode 100644 layouts/partials/footer_github.html create mode 100644 layouts/partials/footer_gitlab.html create mode 100644 layouts/partials/footer_linkedin.html create mode 100644 layouts/partials/footer_mastodon.html create mode 100644 layouts/partials/footer_rss.html create mode 100644 layouts/partials/footer_telegram.html create mode 100644 layouts/partials/footer_twitter.html create mode 100644 static/css/highlight.css delete mode 100644 static/img/500px.svg delete mode 100644 static/img/email.svg delete mode 100644 static/img/facebook.svg delete mode 100644 static/img/github.svg delete mode 100644 static/img/gitlab.svg delete mode 100644 static/img/linkedin.svg delete mode 100644 static/img/mastodon.svg delete mode 100644 static/img/rss.svg delete mode 100644 static/img/telegram.svg delete mode 100644 static/img/twitter.svg diff --git a/.editorconfig b/.editorconfig index b203163..677e36e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,10 +3,7 @@ root = true [*] charset = utf-8 end_of_line = lf -indent_size = 2 +indent_size = 4 indent_style = space insert_final_newline = true trim_trailing_whitespace = true - -[*.{html,css}] -indent_size = 4 diff --git a/README.md b/README.md index 891eae3..baa9330 100644 --- a/README.md +++ b/README.md @@ -8,11 +8,6 @@ A [Cocoa Enhaced](https://github.com/mtn/cocoa-eh-hugo-theme) based theme. It's alt="Patreon donate button" /> - - BMC donate button - - Websites that are using hugo with alaGeek theme: * https://alageek.com @@ -30,11 +25,13 @@ Websites that are using hugo with alaGeek theme: * LaTeX support with MathJax. * Possibility to add extra scripts with `footer_extra.html`. * Disqus support. +* Dark-mode support. ## Supported Languages * English (Default) * Turkish +* Catalan ## TODO @@ -42,8 +39,8 @@ Websites that are using hugo with alaGeek theme: ## Dependency versions -* bootstrap: 4.1.3 -* highlightjs: 9.12.0 +* bootstrap: 4.3.1 +* highlightjs: 9.15.8 * jquery-slim: 3.3.1 * mathjax: 2.7.5 * progressively: 1.2.5 diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 65fe992..70997c7 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -37,7 +37,7 @@ {{ if .Site.Params.highlightjs }} - + {{ end }} {{ if .Site.Params.progressively }} @@ -73,9 +73,9 @@ {{ if .Site.Params.highlightjs }} - + {{ range .Site.Params.highlightjslanguages }} - + {{ end }}