Rename chrome to partials (in builder) - hugo - [fork] hugo port for 9front
HTML git clone git@git.drkhsh.at/hugo.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit aeb06c7bcc12813bbad80761c8cdccb765ea443c
DIR parent 9173022ea7bff5885bb8cfde6f62fa4865b6a829
HTML Author: spf13 <steve.francia@gmail.com>
Date: Tue, 27 May 2014 18:30:25 -0400
Rename chrome to partials (in builder)
Diffstat:
M commands/new.go | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
DIR diff --git a/commands/new.go b/commands/new.go
@@ -142,14 +142,14 @@ func NewTheme(cmd *cobra.Command, args []string) {
}
mkdir(createpath, "layouts", "_default")
- mkdir(createpath, "layouts", "chrome")
+ mkdir(createpath, "layouts", "partials")
touchFile(createpath, "layouts", "index.html")
touchFile(createpath, "layouts", "_default", "list.html")
touchFile(createpath, "layouts", "_default", "single.html")
- touchFile(createpath, "layouts", "chrome", "header.html")
- touchFile(createpath, "layouts", "chrome", "footer.html")
+ touchFile(createpath, "layouts", "partials", "header.html")
+ touchFile(createpath, "layouts", "partials", "footer.html")
mkdir(createpath, "archetypes")
touchFile(createpath, "archetypes", "default.md")