From b1ec3aaa119ed32b4eebebeabfc86e6ef8e588ba Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Tue, 17 Jan 2023 15:59:54 +0100 Subject: [PATCH 1/7] docs: fixed i18n yaml indentation (#379) --- packages/docs/content/docs/beta-features.mdx | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/packages/docs/content/docs/beta-features.mdx b/packages/docs/content/docs/beta-features.mdx index 74ce07a7..0f17d035 100644 --- a/packages/docs/content/docs/beta-features.mdx +++ b/packages/docs/content/docs/beta-features.mdx @@ -27,15 +27,12 @@ i18n: # single_file - persists a single file in `/.` structure: multiple_folders -# Required - a list of locales to show in the editor UI + # Required - a list of locales to show in the editor UI + locales: [en, de, fr] -locales: [en, de, fr] - -# Optional, defaults to the first item in locales. - -# The locale to be used for fields validation and as a baseline for the entry. - -defaultLocale: en + # Optional, defaults to the first item in locales. + # The locale to be used for fields validation and as a baseline for the entry. + defaultLocale: en ``` ```js From dfb5eaf0ed26c4875292ae71062a40b374a19363 Mon Sep 17 00:00:00 2001 From: Daniel Lautzenheiser Date: Tue, 17 Jan 2023 10:33:37 -0500 Subject: [PATCH 2/7] docs: update templates --- .../content/docs/start-with-a-template.mdx | 250 +++--------------- .../components/docs/components/Template.tsx | 66 +++++ .../components/docs/components/Templates.tsx | 24 ++ packages/docs/src/pages/docs/[doc].tsx | 4 + 4 files changed, 126 insertions(+), 218 deletions(-) create mode 100644 packages/docs/src/components/docs/components/Template.tsx create mode 100644 packages/docs/src/components/docs/components/Templates.tsx diff --git a/packages/docs/content/docs/start-with-a-template.mdx b/packages/docs/content/docs/start-with-a-template.mdx index 48588267..1b90b69f 100644 --- a/packages/docs/content/docs/start-with-a-template.mdx +++ b/packages/docs/content/docs/start-with-a-template.mdx @@ -6,224 +6,38 @@ weight: 2 You can add Static CMS [to an existing site](/docs/add-to-your-site/), but the quickest way to get started is with a template. Found below, our featured templates deploy a bare-bones site and Static CMS to Netlify, giving you a fully working CMS-enabled site with just a few clicks. -
-
-
- -
-
Hugo Site Starter
-

- - Deploy to Netlify - -

-
-
-
- -
-
Gatsby Site Starter
-

- - Deploy to Netlify - -

-
-
-
- -
-
Middleman Site Starter
-

- - Deploy to Netlify - -

-
-
-
- -
-
Preact CLI
-

- - Deploy to Netlify - -

-
-
-
- -
-
Next.js Blog Template
-

- - Deploy to Netlify - -

-
-
-
- -
-
Eleventy Starter
-

- - Deploy to Netlify - -

-
-
-
- -
-
Nuxt.js Boilerplate
-

- - Deploy to Netlify - -

-
-
-
- -
-
Metalsmith Starter
-

- - Deploy to Netlify - -

-
-
+ +