@@ -17,7 +17,7 @@ Eleventy is [available on npm](https://www.npmjs.com/package/@11ty/eleventy) and
17
17
18
18
_ Don’t include ` ~ $ ` or ` ~/eleventy-sample $ ` when you run these commands (you can’t copy and paste that text anyway)._
19
19
20
- ## Step 1: Make a Project Directory
20
+ ## < span class = " numberflag " >< span class = " sr-only " > Step</ span > 1</ span > Make a Project Directory
21
21
22
22
Make a directory with your project in it.
23
23
@@ -32,7 +32,7 @@ cd eleventy-sample
32
32
33
33
You’re now in your new project’s directory.
34
34
35
- ## Step 2: Install Eleventy
35
+ ## < span class = " numberflag " >< span class = " sr-only " > Step</ span > 2</ span > Install Eleventy
36
36
37
37
### Create a package.json
38
38
@@ -60,7 +60,7 @@ npm install --save-dev @11ty/eleventy
60
60
61
61
Installing locally is preferred to [ global installation] ( /docs/global-installation/ ) .
62
62
63
- ## Step 3: Run Eleventy
63
+ ## < span class = " numberflag " >< span class = " sr-only " > Step</ span > 3</ span > Run Eleventy
64
64
65
65
We can use npx to run our local project version’s version of Eleventy. Let’s make sure our installation went okay and check what version we’re using:
66
66
@@ -86,7 +86,7 @@ Processed 0 files in 0.02 seconds
86
86
87
87
This makes sense—we have an empty folder with no templates inside.
88
88
89
- ## Step 4: Create some templates
89
+ ## < span class = " numberflag " >< span class = " sr-only " > Step</ span > 4</ span > Create some templates
90
90
91
91
Let’s run two commands to create two new template files.
92
92
@@ -114,7 +114,7 @@ Processed 2 files in 0.10 seconds
114
114
115
115
This will compile any content templates in the current directory or subdirectories into the output folder (defaults to ` _site ` ).
116
116
117
- ## Step 5: Look at your templates
117
+ ## < span class = " numberflag " >< span class = " sr-only " > Step</ span > 5</ span > Gaze upon your templates
118
118
119
119
Use ` --serve ` to start up a hot-reloading local web server.
120
120
0 commit comments