Adding the hyde theme
This commit is contained in:
commit
da66ac1983
12 changed files with 789 additions and 0 deletions
15
layouts/_default/list.html
Normal file
15
layouts/_default/list.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{{ template "theme/chrome/head.html" . }}
|
||||
<body>
|
||||
|
||||
{{ template "theme/chrome/sidebar.html" . }}
|
||||
|
||||
<div class="content container">
|
||||
<ul class="posts">
|
||||
{{ range .Data.Pages }}
|
||||
<li><span><a href="{{ .Permalink }}">{{ .Title }}</a><time class="pull-right post-list">{{ .Date.Format "Mon, Jan 2, 2006" }}</h4></time></span></span></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
15
layouts/_default/single.html
Normal file
15
layouts/_default/single.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
{{ template "theme/chrome/head.html" . }}
|
||||
<body>
|
||||
|
||||
{{ template "theme/chrome/sidebar.html" . }}
|
||||
|
||||
<div class="content container">
|
||||
<div class="post">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<span class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue