From b52d144bf304cc9a63f2787004bea6531b6caad2 Mon Sep 17 00:00:00 2001 From: Aaron Carlino Date: Fri, 6 Dec 2019 14:45:44 +1300 Subject: [PATCH 1/2] Update userguide for compliance with new docs site --- docs/en/userguide/adding-blog-posts.md | 2 ++ docs/en/userguide/index.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/en/userguide/adding-blog-posts.md b/docs/en/userguide/adding-blog-posts.md index 0e033c4..314b584 100644 --- a/docs/en/userguide/adding-blog-posts.md +++ b/docs/en/userguide/adding-blog-posts.md @@ -1,5 +1,7 @@ +--- title: Adding a blog post summary: How to add a new blog post. +--- # Adding a blog post diff --git a/docs/en/userguide/index.md b/docs/en/userguide/index.md index 7932a2e..a5d8b44 100644 --- a/docs/en/userguide/index.md +++ b/docs/en/userguide/index.md @@ -1,5 +1,7 @@ +--- title: Blogging summary: Working with blogging and comments in SilverStripe CMS. +--- # Blogging in SilverStripe CMS From 9ee702d61f7609d8bffa7edf8718be86f7a25d47 Mon Sep 17 00:00:00 2001 From: Aaron Carlino Date: Mon, 9 Dec 2019 12:25:09 +1300 Subject: [PATCH 2/2] Add frontmatter to subpages --- docs/en/userguide/custom-publish-dates.md | 4 ++++ docs/en/userguide/managing-comments.md | 4 ++++ docs/en/userguide/pagination.md | 4 ++++ docs/en/userguide/roles.md | 4 ++++ docs/en/userguide/rss-feed.md | 4 ++++ docs/en/userguide/tags-and-categories.md | 4 ++++ docs/en/userguide/using-widgets.md | 4 ++++ 7 files changed, 28 insertions(+) diff --git a/docs/en/userguide/custom-publish-dates.md b/docs/en/userguide/custom-publish-dates.md index ff13288..47c1681 100644 --- a/docs/en/userguide/custom-publish-dates.md +++ b/docs/en/userguide/custom-publish-dates.md @@ -1,3 +1,7 @@ +--- +title: Custom publish dates +--- + # Custom publish dates Sometimes to want to write a post now, and have it published automatically, some time in the future. diff --git a/docs/en/userguide/managing-comments.md b/docs/en/userguide/managing-comments.md index 4271044..9c68f96 100644 --- a/docs/en/userguide/managing-comments.md +++ b/docs/en/userguide/managing-comments.md @@ -1,3 +1,7 @@ +--- +title: Managing comments +--- + # Managing comments **This guide assumes you have the optional [Comments](https://addons.silverstripe.org/add-ons/silverstripe/comments/) module installed** diff --git a/docs/en/userguide/pagination.md b/docs/en/userguide/pagination.md index e8d45c6..f87f304 100644 --- a/docs/en/userguide/pagination.md +++ b/docs/en/userguide/pagination.md @@ -1,3 +1,7 @@ +--- +title: Pagination +--- + # Pagination By default your Blog will display ten posts per page. The number of posts per page is configurable via the "Settings" tab. Setting posts per page to zero will disable pagination, displaying all of your posts on a single page. diff --git a/docs/en/userguide/roles.md b/docs/en/userguide/roles.md index e714d70..3f4688d 100644 --- a/docs/en/userguide/roles.md +++ b/docs/en/userguide/roles.md @@ -1,3 +1,7 @@ +--- +title: Roles +--- + # Roles Blog authoring and management can be delegated to users at up to three different levels. Users assigned to a blog diff --git a/docs/en/userguide/rss-feed.md b/docs/en/userguide/rss-feed.md index 422c1f6..51a3d43 100644 --- a/docs/en/userguide/rss-feed.md +++ b/docs/en/userguide/rss-feed.md @@ -1,3 +1,7 @@ +--- +title: RSS feed +--- + # RSS feed Each blog you create comes with it's own RSS feed. Access your blog's RSS feed by adding '/rss' to the end of the URL. For example http://yoursite.com/yourblog/rss/ diff --git a/docs/en/userguide/tags-and-categories.md b/docs/en/userguide/tags-and-categories.md index b2a22c4..1a61043 100644 --- a/docs/en/userguide/tags-and-categories.md +++ b/docs/en/userguide/tags-and-categories.md @@ -1,3 +1,7 @@ +--- +title: Tags and categories +--- + # Tags and categories Quickly add new tags and categories to your posts. diff --git a/docs/en/userguide/using-widgets.md b/docs/en/userguide/using-widgets.md index 46124b0..162f985 100644 --- a/docs/en/userguide/using-widgets.md +++ b/docs/en/userguide/using-widgets.md @@ -1,3 +1,7 @@ +--- +title: Using widgets +--- + # Using Widgets **This guide assumes you have the optional [Widgets](https://addons.silverstripe.org/add-ons/silverstripe/widgets/) module installed**