diff --git a/Gruntfile.js b/Gruntfile.js index 3781db0..91d0cea 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -142,7 +142,7 @@ module.exports = function(grunt) { releases: { options: { compose: { - cwd: './' + cwd: '<%= config.root %>/releases' } }, files: [{ diff --git a/in/root/releases/A/index.html b/in/root/releases/A/index.html index 1759527..bc73ce9 100644 --- a/in/root/releases/A/index.html +++ b/in/root/releases/A/index.html @@ -4,4 +4,5 @@ volume: 1 layout: release.html +tracks: A/tracks/**/*.html --- diff --git a/in/root/releases/B/index.html b/in/root/releases/B/index.html index 08d066e..34d077c 100644 --- a/in/root/releases/B/index.html +++ b/in/root/releases/B/index.html @@ -4,4 +4,5 @@ volume: 2 layout: release.html +tracks: B/tracks/**/*.html --- diff --git a/in/templates/layouts/release.html b/in/templates/layouts/release.html index 29e7138..12f3c97 100644 --- a/in/templates/layouts/release.html +++ b/in/templates/layouts/release.html @@ -5,7 +5,7 @@

tracks

    - {{#compose src="tracks/**/*.html"}} + {{#compose src=tracks}}
  1. {{@title}}