From 9f7a4fdca804be6c1f0c7abb658ec482c3afe54f Mon Sep 17 00:00:00 2001 From: prototypa <54446028+prototypa@users.noreply.github.com> Date: Fri, 6 Jan 2023 16:06:01 -0500 Subject: [PATCH] Fix text format for config.mjs --- README.md | 56 +++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index df00dd3..ca86dda 100644 --- a/README.md +++ b/README.md @@ -144,49 +144,49 @@ Basic configuration file: `./src/config.mjs` ```javascript const CONFIG = { - name: 'Example', + name: 'Example', origin: 'https://example.com', basePathname: '/', // Change this if you need to deploy to Github Pages, for example trailingSlash: false, // Generate permalinks with or without "/" at the end title: 'Example - This is the homepage title of Example', // default seo title - description: 'This is the homepage description of Example', // default seo description - defaultImage: "image.jpg", // default seo image + description: 'This is the homepage description of Example', // default seo descriptio + defaultImage: "image.jpg", // default seo image - defaultTheme: 'system', // Values: "system" | "light" | "dark" | "light:only" | "dark:only" + defaultTheme: 'system', // Values: "system" | "light" | "dark" | "light:only" | "dark:only" googleAnalyticsId: false, // or "G-XXXXXXXXXX", googleSiteVerificationId: false, // or some value, - blog: { - disabled: false, - postsPerPage: 4, + blog: { + disabled: false, + postsPerPage: 4, - list: { - pathname: 'blog', // blog main path, you can change this to "articles" (/articles) - noindex: false, - disabled: false, - }, + list: { + pathname: 'blog', // blog main path, you can change this to "articles" (/articles) + noindex: false, + disabled: false, + }, - post: { - pathname: '', // empty for /some-post, value for /pathname/some-post - noindex: false, - disabled: false, - }, + post: { + pathname: '', // empty for /some-post, value for /pathname/some-post + noindex: false, + disabled: false, + }, - category: { - pathname: 'category', // set empty to change from /category/some-category to /some-category - noindex: true, - disabled: false, - }, + category: { + pathname: 'category', // set empty to change from /category/some-category to /some-category + noindex: true, + disabled: false, + }, - tag: { - pathname: 'tag', // set empty to change from /tag/some-tag to /some-tag - noindex: true, - disabled: false, - }, - }, + tag: { + pathname: 'tag', // set empty to change from /tag/some-tag to /some-tag + noindex: true, + disabled: false, + }, + }, } ```