From 4c0d646d993b3191930b92a873a88b93ef1ae05a Mon Sep 17 00:00:00 2001 From: Riccardo Pasianotto Date: Sun, 17 Aug 2014 19:07:36 +0200 Subject: [PATCH] Update to jekyll 2.3.0 --- _data/layout.yml | 21 +++++++++++++++++++++ assets/css/all.sass | 30 +++++++++++++----------------- 2 files changed, 34 insertions(+), 17 deletions(-) create mode 100644 _data/layout.yml diff --git a/_data/layout.yml b/_data/layout.yml new file mode 100644 index 00000000..f2f223d9 --- /dev/null +++ b/_data/layout.yml @@ -0,0 +1,21 @@ +# Layout settings + +animation: "bounceOut" + +# Images + +logo: "logo.svg" +hero: "hero-bg.jpg" +avatar: "travitar.jpg" + +# Colors + +accent: "#c99065" +accent-light: "#e1c184" +bgcolor: "#e5eaee" + +documentBackgroundColor: "#fff" +headlineColor: "#333" +textColor: "#666" +linkColor: "#c99065" +selectionColor: "#ffff9e" \ No newline at end of file diff --git a/assets/css/all.sass b/assets/css/all.sass index 4755b164..ee3536bb 100644 --- a/assets/css/all.sass +++ b/assets/css/all.sass @@ -3,35 +3,31 @@ /////////////////////// -- // // ---- -// SETTINGS // ------ +// Variables // ------ // // ---- /////////////////////// -- //------------------------------------------------ // Transition the image paths from the settings file to usable SASS variables -$animation: "bounceOut" -$logo-path: 'logo.svg' -$hero-path: 'hero-bg.jpg' -$avatar-path: 'travitar.jpg' +$animation: {{ site.data.layout.animation }} +$logo-path: '{{ site.data.layout.logo }}' +$hero-path: '{{ site.data.layout.hero }}' +$avatar-path: '{{ site.data.layout.avatar }}' $projects: "proj-1", "proj-2", "proj-3", "proj-4", "proj-5", "proj-6", "proj-7", "proj-8" //------------------------------------------------ // Set some colors as sass variables -$accent: #c99065 -$accent-light: #e1c184 -$bgcolor: #e5eaee - -$documentBackgroundColor: #fff -$headlineColor: #333 -$textColor: #666 -$linkColor: $accent -$selectionColor: rgb(255,255,158) - - - +$accent: {{ site.data.layout.accent }} +$accent-light: {{ site.data.layout.accent-light }} +$bgcolor: {{ site.data.layout.bgcolor }} +$documentBackgroundColor: {{ site.data.layout.documentBackgroundColor }} +$headlineColor: {{ site.data.layout.headlineColor }} +$textColor: {{ site.data.layout.textColor }} +$linkColor: {{ site.data.layout.linkColor }} +$selectionColor: {{ site.data.layout.selectionColor }} /////////////////////////// --