diff --git a/index.hbs b/index.hbs index 7ce655b..02e8805 100644 --- a/index.hbs +++ b/index.hbs @@ -12,8 +12,13 @@

{{@blog.title}}

{{@blog.description}}

- Take a tour - Cut to the chase
+ {{#if @blog.navigation}} + {{navigation}} + {{else}} + Take a tour + Cut to the chase
+ {{/if}} + @@ -57,4 +62,4 @@ {{!! After all the posts, we have the previous/next pagination links }} - \ No newline at end of file + diff --git a/partials/navigation.hbs b/partials/navigation.hbs new file mode 100644 index 0000000..a6dc7de --- /dev/null +++ b/partials/navigation.hbs @@ -0,0 +1,3 @@ +{{#foreach navigation}} + {{label}} +{{/foreach}}