Skip to content

Commit

Permalink
Hyde theme: sync with upstream to v2.0.0.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dato committed May 14, 2014
1 parent 5a4a5b1 commit 0576ec0
Show file tree
Hide file tree
Showing 7 changed files with 529 additions and 374 deletions.
1 change: 1 addition & 0 deletions layouts/chrome/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -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:https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
Expand Down
26 changes: 13 additions & 13 deletions layouts/chrome/sidebar.html
Original file line number Diff line number Diff line change
@@ -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:https://hugo.spf13.com">hugo</a> made by <a href="http:https://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>
Loading

0 comments on commit 0576ec0

Please sign in to comment.