diff options
author | Anthony Fok <foka@debian.org> | 2014-09-02 13:05:20 -0600 |
---|---|---|
committer | spf13 <steve.francia@gmail.com> | 2014-09-02 17:18:22 -0400 |
commit | efc98a3b1fee0069a162801dbdfd8d0694c7a75e (patch) | |
tree | 1562d0e1203ee2f23408aa7fab87c91a73770e53 /examples/blog/layouts/indexes/post.html | |
parent | 05102f1b79b94b88b60dfcfc00f66cb30ca912c7 (diff) |
Update example blog to Hugo v0.12 conventions
- Convert config.yaml to config.toml to follow what
"hugo new site /path/to/site" generates
- Rename layouts/chrome to layouts/partials
- Convert "template" calls to "partial" calls
- Minor revisions to the text in example content
- Upgrade Bootswatch Yeti theme (3.1.1+1 → to 3.2.0+3)
- Upgrade Font Awesome (4.0.3 → 4.2.0)
- Upgrade jQuery (1.11.0 → 1.11.1)
Diffstat (limited to 'examples/blog/layouts/indexes/post.html')
-rw-r--r-- | examples/blog/layouts/indexes/post.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/blog/layouts/indexes/post.html b/examples/blog/layouts/indexes/post.html index bd8d90d66..b3a835ccd 100644 --- a/examples/blog/layouts/indexes/post.html +++ b/examples/blog/layouts/indexes/post.html @@ -1,6 +1,6 @@ -{{ template "chrome/header.html" . }} +{{ partial "header.html" . }} <body> -{{ template "chrome/navbar.html" . }} +{{ partial "navbar.html" . }} <div class="container"> <div class="row"> <div class="col-md-9"> @@ -16,9 +16,9 @@ <!-- Sidebar --> <div class="col-md-3"> - {{ template "chrome/menu.html" . }} + {{ partial "menu.html" . }} </div> </div> -{{ template "chrome/footer.copyright.html" . }} +{{ partial "footer.copyright.html" . }} </div> -{{ template "chrome/footer.html" . }}
\ No newline at end of file +{{ partial "footer.html" . }} |