-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
21ca2e9
commit d61bee5
Showing
5 changed files
with
28 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{{ 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" . }} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
|
||
<head> | ||
{{ partial "meta.html" . }} | ||
|
||
<title>{{ .Title }} - {{ .Site.BaseURL }}</title> | ||
<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> |
File renamed without changes.
File renamed without changes.