mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	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)
This commit is contained in:
		@@ -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" . }}
 | 
			
		||||
{{ partial "footer.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" . }}
 | 
			
		||||
{{ partial "footer.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" . }}
 | 
			
		||||
{{ partial "footer.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" . }}
 | 
			
		||||
{{ partial "footer.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" . }}
 | 
			
		||||
{{ partial "footer.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>
 | 
			
		||||
</head>
 | 
			
		||||
@@ -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">×</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>
 | 
			
		||||
    </div>
 | 
			
		||||
@@ -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" . }}
 | 
			
		||||
{{ partial "footer.html" . }}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user