about summary refs log tree commit diff stats
path: root/layouts
diff options
context:
space:
mode:
authorDato Simó2014-05-14 23:57:17 +0100
committerDato Simó2014-05-15 00:34:40 +0100
commit0576ec066de382154036f1df6b0428ba9ff402d3 (patch)
tree570573fa4b5880d1aba03217998d7cf512716e12 /layouts
parent5a4a5b1862047eec1ab6054528f41448e7004c8b (diff)
downloadhyde-0576ec066de382154036f1df6b0428ba9ff402d3.tar.lz
hyde-0576ec066de382154036f1df6b0428ba9ff402d3.tar.zst
hyde-0576ec066de382154036f1df6b0428ba9ff402d3.zip
Hyde theme: sync with upstream to v2.0.0.
CSS is now split into poole.css and hyde.css; chrome/sidebar.html updated.

Also cherry-pick:

  * poole/hyde@48b9d1f - Set a max-width for images
Diffstat (limited to 'layouts')
-rw-r--r--layouts/chrome/head.html1
-rw-r--r--layouts/chrome/sidebar.html26
2 files changed, 14 insertions, 13 deletions
diff --git a/layouts/chrome/head.html b/layouts/chrome/head.html
index 582750c..4ddf0fa 100644
--- a/layouts/chrome/head.html
+++ b/layouts/chrome/head.html
@@ -10,6 +10,7 @@
   <title> {{ .Title }} &middot; {{ .Site.Title }} </title>
 
   <!-- CSS -->
+  <link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/poole.css">
   <link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/syntax.css">
   <link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/hyde.css">
   <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
diff --git a/layouts/chrome/sidebar.html b/layouts/chrome/sidebar.html
index 93dffdd..b199a6b 100644
--- a/layouts/chrome/sidebar.html
+++ b/layouts/chrome/sidebar.html
@@ -1,19 +1,19 @@
-    <header class="masthead">
-      <div class="masthead-inner">
+<div class="sidebar">
+  <div class="container sidebar-sticky">
+    <div class="sidebar-about">
       <h1>{{ .Site.Title }}</h1>
       <p class="lead">
       {{ with .Site.Params.Description }} {{.}} {{ else }}An elegant open source and mobile first theme for <a href="http://hugo.spf13.com">hugo</a> made by <a href="http://twitter.com/mdo">@mdo</a>. Originally made for Jekyll.{{end}}
       </p>
+    </div>
 
-        <div class="colophon">
-          <ul class="colophon-links">
-              <li><a href="/">Home</a> </li>
-              {{ range .Site.Menus.main }}
-                    <li><a href="{{.Url}}"> {{ .Name }} </a></li>
-              {{end}}
-          </ul>
+    <ul class="sidebar-nav">
+      <li><a href="/">Home</a> </li>
+      {{ range .Site.Menus.main }}
+        <li><a href="{{.Url}}"> {{ .Name }} </a></li>
+      {{end}}
+    </ul>
 
-          <p>{{ with .Site.Params.Copyright }}{{.}}{{ else }}&copy; {{.Now.Format "2006"}}. All rights reserved. {{end}}</p>
-        </div>
-      </div>
-    </header>
+    <p>{{ with .Site.Params.Copyright }}{{.}}{{ else }}&copy; {{.Now.Format "2006"}}. All rights reserved. {{end}}</p>
+  </div>
+</div>