From 305eaf4a8b416dd2124b35d7a27fa3e98262c40d Mon Sep 17 00:00:00 2001 From: Jeppe Ernst Date: Tue, 23 Jan 2018 18:29:33 +0100 Subject: [PATCH] remove unused plugins --- Gemfile | 2 +- _config.yml | 8 +++----- _includes/head.html | 8 ++++++++ _layouts/default.html | 10 +--------- _scss/base/_base.scss | 4 ++-- 5 files changed, 15 insertions(+), 17 deletions(-) create mode 100644 _includes/head.html diff --git a/Gemfile b/Gemfile index f22cc246..4c658e92 100644 --- a/Gemfile +++ b/Gemfile @@ -13,7 +13,7 @@ gem "jekyll", "~> 3.6.2" # If you want to use GitHub Pages, remove the "gem "jekyll"" above and # uncomment the line below. To upgrade, run `bundle update github-pages`. # gem "github-pages", group: :jekyll_plugins -gem "github-pages", group: :jekyll_plugins +#gem "github-pages", group: :jekyll_plugins # If you have any plugins, put them here! group :jekyll_plugins do diff --git a/_config.yml b/_config.yml index 3d92069c..6e311672 100644 --- a/_config.yml +++ b/_config.yml @@ -19,13 +19,13 @@ description: >- # this means to ignore newlines until "baseurl:" Den danske totalovervågning er kendt ulovlig, men teleselskaber og politikere er ligeglade. Nu gør vi noget ved det! #ulovligLogning baseurl: "" # the subpath of your site, e.g. /blog -url: "" # the base hostname & protocol for your site, e.g. http://example.com +url: "https://ulovliglogning.dk" # the base hostname & protocol for your site, e.g. http://example.com # multilanguage support languages: ["da", "en"] default_lang: "da" -exclude_from_localizations: ["assets"] -parallel_localization: true +exclude_from_localizations: ["assets", "_scss", "style", "fonts", "img", "js", "vendor"] +parallel_localization: false # Build settings markdown: kramdown @@ -38,6 +38,4 @@ sass: sass_dir: _scss plugins: - - jekyll-seo-tag - - jemoji - jekyll-polyglot diff --git a/_includes/head.html b/_includes/head.html new file mode 100644 index 00000000..214a473d --- /dev/null +++ b/_includes/head.html @@ -0,0 +1,8 @@ + + + + {{ global.title }} + + + {% I18n_Headers %} + \ No newline at end of file diff --git a/_layouts/default.html b/_layouts/default.html index f682f9ef..bf0fd439 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -2,15 +2,7 @@ - - - - {{ global.title }} - - - {% I18n_Headers %} - {% seo %} - + {% include head.html %}
{% for tongue in site.languages %} diff --git a/_scss/base/_base.scss b/_scss/base/_base.scss index 3ba5235c..97be561b 100644 --- a/_scss/base/_base.scss +++ b/_scss/base/_base.scss @@ -24,14 +24,14 @@ footer { font-size: 1rem; color: #FFF; display: inline-block; - background: darken($color-international-orange, 15); + background: $color-international-orange; padding: 5px; box-shadow: none; text-transform: capitalize; border-right: 1px solid rgba(0,0,0,.4); } .langSwitcher a.activeLang { - background: $color-international-orange; + background: darken($color-international-orange, 15); } .langSwitcher a:first-child{ border-radius: 3px 0 0 3px;