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/"
output: true
tutorials:
permalink: "/:collection/:path/"
output: true
defaults:
- scope:
@ -30,6 +31,11 @@ defaults:
type: posts
values:
layout: news_item
- scope:
path: _tutorials
type: tutorials
values:
layout: tutorials
- scope:
path: ''
values:

View File

@ -1,6 +1,4 @@
---
layout: tutorials
permalink: /tutorials/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
---

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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