The example blog had not been updated for some time and I had to restructure it a little bit.
Fixes #6752
Changed tag and category directory structure
--- /dev/null
+{{ partial "header.html" . }}
+
+<body>
+ {{ partial "navbar.html" . }}
+ <div class="container">
+ <div class="row">
+ <div class="col-md-9">
+ <div class="well well-sm">
+ <strong>Items in category <code>{{ .Title | lower }}</code></strong>
+ <ul class="list-unstyled">
+ {{ range .Data.Pages }}
+ {{ .Render "li" }}
+ {{ end}}
+ </ul>
+ </div>
+ </div>
+
+ <!-- Sidebar -->
+ <div class="col-md-3">
+ {{ partial "menu.html" . }}
+ </div>
+ </div>
+ {{ partial "footer.copyright.html" . }}
+ </div>
+ {{ partial "footer.html" . }}
\ No newline at end of file
+++ /dev/null
-{{ partial "header.html" . }}
-<body>
-{{ partial "navbar.html" . }}
-<div class="container">
- <div class="row">
- <div class="col-md-9">
- <div class="well well-sm">
- <strong>Items in category <code>{{ .Title | lower }}</code></strong>
- <ul class="list-unstyled">
- {{ range .Data.Pages }}
- {{ .Render "li" }}
- {{ end}}
- </ul>
- </div>
- </div>
-
- <!-- Sidebar -->
- <div class="col-md-3">
- {{ partial "menu.html" . }}
- </div>
- </div>
-{{ partial "footer.copyright.html" . }}
-</div>
-{{ partial "footer.html" . }}
+++ /dev/null
-{{ partial "header.html" . }}
-<body>
-{{ partial "navbar.html" . }}
-<div class="container">
- <div class="row">
- <div class="col-md-9">
- <div class="well well-sm">
- <strong>Blog Post Archive</strong>
- <ul class="list-unstyled">
- {{ range .Data.Pages }}
- {{ .Render "li" }}
- {{ end}}
- </ul>
- </div>
- </div>
-
- <!-- Sidebar -->
- <div class="col-md-3">
- {{ partial "menu.html" . }}
- </div>
- </div>
-{{ partial "footer.copyright.html" . }}
-</div>
-{{ partial "footer.html" . }}
+++ /dev/null
-{{ partial "header.html" . }}
-<body>
-{{ partial "navbar.html" . }}
-<div class="container">
- <div class="row">
- <div class="col-md-9">
- <div class="well well-sm">
- <strong>Items with tag <code>{{ .Title | lower }}</code></strong>
- <ul class="list-unstyled">
- {{ range .Data.Pages }}
- {{ .Render "li" }}
- {{ end}}
- </ul>
- </div>
- </div>
-
- <!-- Sidebar -->
- <div class="col-md-3">
- {{ partial "menu.html" . }}
- </div>
- </div>
-{{ partial "footer.copyright.html" . }}
-</div>
-{{ partial "footer.html" . }}
<!doctype html>
<html lang="en">
+
<head>
{{ partial "meta.html" . }}
<link rel="canonical" href="{{ .Permalink }}">
{{ partial "header.includes.html" . }}
{{ with .OutputFormats.Get "RSS" -}}
- {{ printf "<link href=%q rel=\"alternate\" type=%q title=%q />" .Permalink .MediaType .Title | safeHTML }}
+ {{ printf "<link href=%q rel=\"alternate\" type=%q title=%q />" .Permalink .MediaType $.Site.Title | safeHTML }}
{{- end }}
-</head>
+</head>
\ No newline at end of file
--- /dev/null
+{{ partial "header.html" . }}
+<body>
+{{ partial "navbar.html" . }}
+<div class="container">
+ <div class="row">
+ <div class="col-md-9">
+ <div class="well well-sm">
+ <strong>Blog Post Archive</strong>
+ <ul class="list-unstyled">
+ {{ range .Data.Pages }}
+ {{ .Render "li" }}
+ {{ end}}
+ </ul>
+ </div>
+ </div>
+
+ <!-- Sidebar -->
+ <div class="col-md-3">
+ {{ partial "menu.html" . }}
+ </div>
+ </div>
+{{ partial "footer.copyright.html" . }}
+</div>
+{{ partial "footer.html" . }}
--- /dev/null
+{{ partial "header.html" . }}
+<body>
+{{ partial "navbar.html" . }}
+<div class="container">
+ <div class="row">
+ <div class="col-md-9">
+ <div class="well well-sm">
+ <strong>Items with tag <code>{{ .Title | lower }}</code></strong>
+ <ul class="list-unstyled">
+ {{ range .Data.Pages }}
+ {{ .Render "li" }}
+ {{ end}}
+ </ul>
+ </div>
+ </div>
+
+ <!-- Sidebar -->
+ <div class="col-md-3">
+ {{ partial "menu.html" . }}
+ </div>
+ </div>
+{{ partial "footer.copyright.html" . }}
+</div>
+{{ partial "footer.html" . }}