INIT: uploading initial structure of site"

This commit is contained in:
Spencer Lyon
2014-03-29 12:09:38 -04:00
parent 829427ec43
commit c624bdbafb
20 changed files with 1369 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
{{ $baseurl := .Site.BaseUrl }}
<li>
<span><h2><a href='{{ .Permalink }}'> {{ .Title }}</a> </h2></span>
<span class="left">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
<span class="right">
<ul class="catlist">
{{ range .Params.categories }}
<li><a href="{{ $baseurl }}/categories/{{ . | urlize }}">{{ . }}</a> </li>
{{ end }}
</ul>
</span>
<br />
{{ .Description }}
</li>
+35
View File
@@ -0,0 +1,35 @@
{{ template "chrome/header.html" . }}
<body class="theme-base-08">
{{ template "chrome/sidebar.html" . }}
<div class="wrap">
<div class="masthead">
<div class="container">
<h3 class="masthead-title">
<a href="/posts" title="Blog">Blog Posts</a>
</h3>
</div>
</div>
<div class="container content">
<h1 class="post-title">{{ .Title }}</h1>
<section id="main">
<h5 id="date"> {{ .Date.Format "Mon Jan 2, 2006" }} </h5>
</section>
{{ .Content }}
</div>
</div>
<label for="sidebar-checkbox" class="sidebar-toggle"></label>
{{ template "chrome/prev_next.html" . }}
<br />
{{ template "chrome/categories.html" . }}
<!-- Include footer (ends <body class="theme-base-08"> and <html>) -->
{{ template "chrome/footer.html" }}
+11
View File
@@ -0,0 +1,11 @@
<article class="post">
<header>
<h2><a href='{{ .Permalink }}'> {{ .Title }}</a> </h2>
<div class="meta">{{ .Date.Format "Mon, Jan 2, 2006" }}</div>
</header>
{{ .Summary }}
<footer>
<a href='{{ .Permalink }}'><nobr>Read more →</nobr></a>
</footer>
</article>