From a4f120615dd668dadc3754d3375facb1d105e080 Mon Sep 17 00:00:00 2001 From: John Mulhausen Date: Mon, 8 Feb 2016 18:53:05 -0800 Subject: [PATCH] Demo scope for versions --- _config.yml | 5 +++++ _site/v1.2/index.html | 2 +- v1.2/index.md | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index 4d4143e87d..98703b6cf6 100644 --- a/_config.yml +++ b/_config.yml @@ -16,5 +16,10 @@ defaults: path: "" values: layout: "docs" + - + scope: + path: "v1.2" + values: + version: "v1.2" permalink: pretty \ No newline at end of file diff --git a/_site/v1.2/index.html b/_site/v1.2/index.html index a5cea21549..7ee4b2116b 100644 --- a/_site/v1.2/index.html +++ b/_site/v1.2/index.html @@ -79,7 +79,7 @@

This is a test of the documentation layout use

-

aspdjfas +

Testing version v1.2 dfas df asd diff --git a/v1.2/index.md b/v1.2/index.md index 6accc9c467..952412cc8f 100644 --- a/v1.2/index.md +++ b/v1.2/index.md @@ -5,7 +5,7 @@ abstract: Testing the doducmentation with cascading layouts # This is a test of the documentation layout use -aspdjfas +Testing version {{ page.version }} dfas df asd