Skip to content

Commit

Permalink
all.sass $projects variable allows for adding and removing projects w…
Browse files Browse the repository at this point in the history
…ithout breaking the css
  • Loading branch information
aromano272 authored and niklasravnsborg committed Jan 31, 2015
1 parent 3d83e73 commit bce30d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/css/all.sass
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $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"
$projects: {% for project in site.data.settings.projects %} "{{ project.folder }}", {% endfor %}

//------------------------------------------------
// Set some colors as sass variables
Expand All @@ -38,4 +38,4 @@ $selectionColor: {{ site.data.layout.selectionColor }}
@import '1-tools/-tools-dir'
@import '2-base/-base-dir'
@import '3-sections/-sections-dir'
@import '3-sections/-sections-dir'

0 comments on commit bce30d3

Please sign in to comment.