diff --git a/_basics/handle.md b/_basics/handles.md similarity index 100% rename from _basics/handle.md rename to _basics/handles.md diff --git a/_basics/true-and-false.md b/_basics/truthy-and-falsy.md similarity index 100% rename from _basics/true-and-false.md rename to _basics/truthy-and-falsy.md diff --git a/_config.yml b/_config.yml index 0c56828..914ffa2 100644 --- a/_config.yml +++ b/_config.yml @@ -6,12 +6,20 @@ permalink: /:year/:month/:day/:basename:output_ext collections: basics: output: true + permalink: /basics/:path/ filters: output: true tags: output: true + permalink: /tags/:path/ exclude: - README.md - CNAME - node_modules keep_files: ['css'] +defaults: + - + scope: + path: "" # an empty string here means all files in the project + values: + layout: "default" diff --git a/_layouts/default.html b/_layouts/default.html index c644d60..09a097c 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -21,21 +21,49 @@ Liquid diff --git a/_tags/control-flow-tags.md b/_tags/control-flow.md similarity index 90% rename from _tags/control-flow-tags.md rename to _tags/control-flow.md index a8909e8..035582e 100644 --- a/_tags/control-flow-tags.md +++ b/_tags/control-flow.md @@ -2,12 +2,12 @@ title: Control Flow --- -Control Flow tags determine which block of code should be executed based on different conditions. +Control Flow tags determine which block of code should be executed based on different conditions. -### if +## if -
Executes a block of code only if a certain condition is met.
+Executes a block of code only if a certain condition is met.
Input
@@ -28,9 +28,9 @@ These shoes are awesome! -### elsif / else +## elsif / else -Adds more conditions within an if or unless block.
Adds more conditions within an if or unless block.
Input
@@ -58,10 +58,9 @@ Hey Anonymous! +## case/when -### case/when - -Creates a switch statement to compare a variable with different values. case initializes the switch statement, and when compares its values.
Creates a switch statement to compare a variable with different values. case initializes the switch statement, and when compares its values.
Input
@@ -93,15 +92,9 @@ This is a cake +## unless - - - - - -### unless - -Similar to if, but executes a block of code only if a certain condition is not met.
Similar to if, but executes a block of code only if a certain condition is not met.
Input
diff --git a/_tags/iteration-tags.md b/_tags/iteration.md similarity index 100% rename from _tags/iteration-tags.md rename to _tags/iteration.md diff --git a/_tags/temp-index.md b/_tags/temp-index.md deleted file mode 100644 index 9938738..0000000 --- a/_tags/temp-index.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Tags ---- - - -Liquid _tags_ are the programming logic that tells templates what to do. Tags are wrapped in:{% %}.
-
-Certain tags, such as for and cycle can take on parameters. Details for each parameter can be found in their respective sections.
-
-Tags can be broken down into four categories:
-
-- [Control Flow Tags](/themes/liquid-documentation/tags/control-flow-tags/)
-- [Iteration Tags](/themes/liquid-documentation/tags/iteration-tags/)
-- [Theme Tags](/themes/liquid-documentation/tags/theme-tags/)
-- [Variable Tags](/themes/liquid-documentation/tags/variable-tags/)
\ No newline at end of file
diff --git a/_tags/theme-tags.md b/_tags/theme.md
similarity index 100%
rename from _tags/theme-tags.md
rename to _tags/theme.md
diff --git a/_tags/variable-tags.md b/_tags/variable.md
similarity index 100%
rename from _tags/variable-tags.md
rename to _tags/variable.md
diff --git a/tags/index.html b/tags/index.html
index febf7ef..925fb36 100644
--- a/tags/index.html
+++ b/tags/index.html
@@ -2,11 +2,5 @@
layout: default
---
-{% for doc in site.collections["tags"].docs %}
-