2018-01-16 22:08:47 -05:00
|
|
|
# eleventy-base-blog
|
|
|
|
|
|
|
|
A starter repository for eleventy static site generator projects.
|
2018-01-16 22:21:05 -05:00
|
|
|
|
|
|
|
## 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
|
|
|
|
```
|