From b29ad7ae2e755f0140bfa75529fcaa4070bd6c87 Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Fri, 24 Feb 2023 16:19:27 -0600 Subject: [PATCH] Simplification --- README.md | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 58d1634..fd5e0ce 100644 --- a/README.md +++ b/README.md @@ -6,29 +6,27 @@ A starter repository showing how to build a blog with the [Eleventy](https://www ## Getting Started -### 1. Clone this Repository +1. Clone this Repository ``` git clone https://github.com/11ty/eleventy-base-blog.git my-blog-name ``` -### 2. Navigate to the directory +2. Navigate to the directory ``` cd my-blog-name ``` -Specifically have a look at `eleventy.config.js` to see if you want to configure any Eleventy options differently. - -### 3. Install dependencies +3. Have a look at `eleventy.config.js` to see if you want to configure any Eleventy options differently. +4. Install dependencies ``` npm install ``` -### 4. Edit `_data/metadata.js` - -### 5. Run Eleventy +5. Edit `_data/metadata.js` to change the site data. +6. Run Eleventy Generate a production-ready build: @@ -42,18 +40,7 @@ Or build and host locally on a local development server: npx @11ty/eleventy --serve ``` -Or in [debug mode](https://www.11ty.dev/docs/debugging/) to see all the internals: - -``` -# Mac OS/Linux/etc -DEBUG=Eleventy* npx @11ty/eleventy - -# Windows -set DEBUG=Eleventy* & npx @11ty/eleventy - -# Windows (Powershell in VS Code) -$env:DEBUG="Eleventy*"; npx @11ty/eleventy -``` +Or you can run [debug mode](https://www.11ty.dev/docs/debugging/) to see all the internals. ## Features