summaryrefslogtreecommitdiffstats
path: root/examples/blog/layouts
diff options
context:
space:
mode:
authorAnthony Fok <foka@debian.org>2014-09-02 13:05:20 -0600
committerspf13 <steve.francia@gmail.com>2014-09-02 17:18:22 -0400
commitefc98a3b1fee0069a162801dbdfd8d0694c7a75e (patch)
tree1562d0e1203ee2f23408aa7fab87c91a73770e53 /examples/blog/layouts
parent05102f1b79b94b88b60dfcfc00f66cb30ca912c7 (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')
-rw-r--r--examples/blog/layouts/_default/single.html10
-rw-r--r--examples/blog/layouts/index.html10
-rw-r--r--examples/blog/layouts/indexes/category.html10
-rw-r--r--examples/blog/layouts/indexes/post.html10
-rw-r--r--examples/blog/layouts/indexes/tag.html10
-rw-r--r--examples/blog/layouts/partials/footer.copyright.html (renamed from examples/blog/layouts/chrome/footer.copyright.html)0
-rw-r--r--examples/blog/layouts/partials/footer.html (renamed from examples/blog/layouts/chrome/footer.html)0
-rw-r--r--examples/blog/layouts/partials/header.html (renamed from examples/blog/layouts/chrome/header.html)6
-rw-r--r--examples/blog/layouts/partials/header.includes.html (renamed from examples/blog/layouts/chrome/header.includes.html)0
-rw-r--r--examples/blog/layouts/partials/menu.html (renamed from examples/blog/layouts/chrome/menu.html)4
-rw-r--r--examples/blog/layouts/partials/meta.html (renamed from examples/blog/layouts/chrome/meta.html)0
-rw-r--r--examples/blog/layouts/partials/navbar.html (renamed from examples/blog/layouts/chrome/navbar.html)0
-rw-r--r--examples/blog/layouts/post/single.html10
13 files changed, 35 insertions, 35 deletions
diff --git a/examples/blog/layouts/_default/single.html b/examples/blog/layouts/_default/single.html
index 29679d5af..13a53f666 100644
--- a/examples/blog/layouts/_default/single.html
+++ b/examples/blog/layouts/_default/single.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">
@@ -13,9 +13,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" . }}
diff --git a/examples/blog/layouts/index.html b/examples/blog/layouts/index.html
index 5eb216127..a69100409 100644
--- a/examples/blog/layouts/index.html
+++ b/examples/blog/layouts/index.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">
@@ -11,9 +11,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" . }}
diff --git a/examples/blog/layouts/indexes/category.html b/examples/blog/layouts/indexes/category.html
index 2551b79b8..653d81964 100644
--- a/examples/blog/layouts/indexes/category.html
+++ b/examples/blog/layouts/indexes/category.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" . }}
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" . }}
diff --git a/examples/blog/layouts/indexes/tag.html b/examples/blog/layouts/indexes/tag.html
index 16f626dc2..f59b76715 100644
--- a/examples/blog/layouts/indexes/tag.html
+++ b/examples/blog/layouts/indexes/tag.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" . }}
diff --git a/examples/blog/layouts/chrome/footer.copyright.html b/examples/blog/layouts/partials/footer.copyright.html
index 2a7aa873f..2a7aa873f 100644
--- a/examples/blog/layouts/chrome/footer.copyright.html
+++ b/examples/blog/layouts/partials/footer.copyright.html
diff --git a/examples/blog/layouts/chrome/footer.html b/examples/blog/layouts/partials/footer.html
index 8a028c31f..8a028c31f 100644
--- a/examples/blog/layouts/chrome/footer.html
+++ b/examples/blog/layouts/partials/footer.html
diff --git a/examples/blog/layouts/chrome/header.html b/examples/blog/layouts/partials/header.html
index 4a2c3f69c..edb72dd3f 100644
--- a/examples/blog/layouts/chrome/header.html
+++ b/examples/blog/layouts/partials/header.html
@@ -1,10 +1,10 @@
<!doctype html>
<html lang="en">
<head>
- {{ template "chrome/meta.html" . }}
+ {{ partial "meta.html" . }}
<title>{{ .Title }} - {{ .Site.BaseUrl }}</title>
<link rel="canonical" href="{{ .Permalink }}">
- {{ template "chrome/header.includes.html" . }}
+ {{ partial "header.includes.html" . }}
{{ if .RSSlink }}<link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />{{ end }}
-</head> \ No newline at end of file
+</head>
diff --git a/examples/blog/layouts/chrome/header.includes.html b/examples/blog/layouts/partials/header.includes.html
index 92891d0cc..92891d0cc 100644
--- a/examples/blog/layouts/chrome/header.includes.html
+++ b/examples/blog/layouts/partials/header.includes.html
diff --git a/examples/blog/layouts/chrome/menu.html b/examples/blog/layouts/partials/menu.html
index 295fb90cc..61ce0c6b5 100644
--- a/examples/blog/layouts/chrome/menu.html
+++ b/examples/blog/layouts/partials/menu.html
@@ -9,7 +9,7 @@
<div class="alert alert-info alert-dismissable" style="margin-top:25px;margin-bottom:5px;">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<strong>Hey, listen!</strong><br>
- You should modify the <code>layouts/chrome/menu.html</code> template and include your own profile links.
+ You should modify the <code>layouts/partials/menu.html</code> template and include your own profile links.
</div>
</div>
- </div> \ No newline at end of file
+ </div>
diff --git a/examples/blog/layouts/chrome/meta.html b/examples/blog/layouts/partials/meta.html
index 95fd2a711..95fd2a711 100644
--- a/examples/blog/layouts/chrome/meta.html
+++ b/examples/blog/layouts/partials/meta.html
diff --git a/examples/blog/layouts/chrome/navbar.html b/examples/blog/layouts/partials/navbar.html
index c4ef82334..c4ef82334 100644
--- a/examples/blog/layouts/chrome/navbar.html
+++ b/examples/blog/layouts/partials/navbar.html
diff --git a/examples/blog/layouts/post/single.html b/examples/blog/layouts/post/single.html
index 05ecc53c7..4b792ebe2 100644
--- a/examples/blog/layouts/post/single.html
+++ b/examples/blog/layouts/post/single.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">
@@ -27,9 +27,9 @@
<strong>Tags</strong><br>
{{ range .Params.tags }}<a class="label label-default" href="/tags/{{ . | urlize }}">{{ . }}</a> {{ end }}
</div>
- {{ 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" . }}