Fix wording
This commit is contained in:
parent
57dfa350ee
commit
b72cc94e5d
12
README.md
12
README.md
@ -17,8 +17,8 @@ anything from blogs to image galleries using the same tool.
|
|||||||
|
|
||||||
Goldsmith does not use any configuration files, and all behavior customization happens in code. Goldsmith uses the
|
Goldsmith does not use any configuration files, and all behavior customization happens in code. Goldsmith uses the
|
||||||
[builder pattern](https://en.wikipedia.org/wiki/Builder_pattern) to establish a chain, which modifies files as they pass
|
[builder pattern](https://en.wikipedia.org/wiki/Builder_pattern) to establish a chain, which modifies files as they pass
|
||||||
through it. Although the [Goldsmith](https://godoc.org/foosoft.net/projects/goldsmith) is short and (hopefully) easy to
|
through it. Although the [Goldsmith](https://godoc.org/foosoft.net/projects/goldsmith) API is short and (hopefully) easy
|
||||||
understand, it is often best to learn by example:
|
to understand, it is often best to learn by example:
|
||||||
|
|
||||||
1. Start by copying files from a source directory to a destination directory (the simplest possible use case):
|
1. Start by copying files from a source directory to a destination directory (the simplest possible use case):
|
||||||
|
|
||||||
@ -80,8 +80,8 @@ understand, it is often best to learn by example:
|
|||||||
```
|
```
|
||||||
|
|
||||||
6. Debugging problems in minified code can be tricky, so let's use the
|
6. Debugging problems in minified code can be tricky, so let's use the
|
||||||
[Condition](https://godoc.org/foosoft.net/projects/goldsmith-components/filters/condition) filter to make minification
|
[Condition](https://godoc.org/foosoft.net/projects/goldsmith-components/filters/condition) filter to make
|
||||||
occur only when we are ready for distribution.
|
minification occur only when we are ready for distribution.
|
||||||
|
|
||||||
```go
|
```go
|
||||||
goldsmith.
|
goldsmith.
|
||||||
@ -96,8 +96,8 @@ understand, it is often best to learn by example:
|
|||||||
```
|
```
|
||||||
|
|
||||||
7. Now that we have all of our plugins chained up, let's look at a complete example which uses
|
7. Now that we have all of our plugins chained up, let's look at a complete example which uses
|
||||||
[DevServer](https://godoc.org/foosoft.net/projects/goldsmith-components/devserver) to bootstrap a complete development
|
[DevServer](https://godoc.org/foosoft.net/projects/goldsmith-components/devserver) to bootstrap a complete
|
||||||
sever which automatically rebuilds the site whenever source files are updated.
|
development sever which automatically rebuilds the site whenever source files are updated.
|
||||||
|
|
||||||
```go
|
```go
|
||||||
package main
|
package main
|
||||||
|
Loading…
Reference in New Issue
Block a user