39 lines
555 B
Markdown
39 lines
555 B
Markdown
# eleventy-base-blog
|
|
|
|
A starter repository showing how to build a blog with the [Eleventy](https://github.com/11ty/eleventy) static site generator.
|
|
|
|
## Getting Started
|
|
|
|
### 1. Clone this repository:
|
|
|
|
```
|
|
git clone https://github.com/11ty/eleventy-base-blog.git my-blog-name
|
|
```
|
|
|
|
### 2. Navigate to the directory
|
|
|
|
```
|
|
cd my-blog-name
|
|
```
|
|
|
|
### 3. Install dependencies
|
|
|
|
```
|
|
npm install
|
|
```
|
|
|
|
### 4. Run Eleventy
|
|
|
|
```
|
|
npx eleventy
|
|
```
|
|
|
|
Or build automatically when a template changes:
|
|
```
|
|
npx eleventy --watch
|
|
```
|
|
|
|
Or in debug mode:
|
|
```
|
|
DEBUG=* npx eleventy
|
|
``` |