Add default front matter for tutorials collection (#8081)

Merge pull request 8081
This commit is contained in:
Ashwin Maroli 2020-03-30 01:41:17 +05:30 committed by GitHub
parent 8d3c2f6a96
commit 09c448449e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 6 additions and 15 deletions

View File

@ -18,6 +18,7 @@ collections:
permalink: "/news/:year/:month/:day/:title/" permalink: "/news/:year/:month/:day/:title/"
output: true output: true
tutorials: tutorials:
permalink: "/:collection/:path/"
output: true output: true
defaults: defaults:
- scope: - scope:
@ -30,6 +31,11 @@ defaults:
type: posts type: posts
values: values:
layout: news_item layout: news_item
- scope:
path: _tutorials
type: tutorials
values:
layout: tutorials
- scope: - scope:
path: '' path: ''
values: values:

View File

@ -1,6 +1,4 @@
--- ---
layout: tutorials
permalink: /tutorials/cache-api/
title: Cache API title: Cache API
--- ---

View File

@ -1,6 +1,4 @@
--- ---
layout: tutorials
permalink: /tutorials/convert-site-to-jekyll/
title: Convert an HTML site to Jekyll title: Convert an HTML site to Jekyll
--- ---

View File

@ -1,6 +1,4 @@
--- ---
layout: tutorials
permalink: /tutorials/custom-404-page/
title: Custom 404 Page title: Custom 404 Page
--- ---

View File

@ -1,5 +1,4 @@
--- ---
layout: tutorials
title: Tutorials title: Tutorials
permalink: /tutorials/home/ permalink: /tutorials/home/
redirect_from: /tutorials/index.html redirect_from: /tutorials/index.html

View File

@ -1,6 +1,4 @@
--- ---
layout: tutorials
permalink: /tutorials/navigation/
title: Navigation title: Navigation
--- ---

View File

@ -1,6 +1,4 @@
--- ---
layout: tutorials
permalink: /tutorials/orderofinterpretation/
title: Order of interpretation title: Order of interpretation
--- ---

View File

@ -1,6 +1,4 @@
--- ---
layout: tutorials
permalink: /tutorials/using-jekyll-with-bundler/
title: Using Jekyll with Bundler title: Using Jekyll with Bundler
--- ---

View File

@ -1,6 +1,4 @@
--- ---
layout: tutorials
permalink: /tutorials/video-walkthroughs/
title: Video Walkthroughs title: Video Walkthroughs
--- ---