first commit
This commit is contained in:
commit
13e2fd6e74
125 changed files with 19943 additions and 0 deletions
6
layouts/blog/li.html
Executable file
6
layouts/blog/li.html
Executable file
|
@ -0,0 +1,6 @@
|
|||
<div class = "post">
|
||||
<li>
|
||||
<h3 id="archive"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||
<div class="meta">{{ .Date.Format "Jan 2, 2006" }}</div>
|
||||
</li>
|
||||
</div>
|
49
layouts/blog/single.html
Executable file
49
layouts/blog/single.html
Executable file
|
@ -0,0 +1,49 @@
|
|||
{{ partial "header.html" . }}
|
||||
{{ $baseurl := .Site.BaseURL }}
|
||||
<body>
|
||||
<div id="topbar">
|
||||
<div class="wrapper">
|
||||
<header>
|
||||
{{ partial "sidebar.html" . }}
|
||||
</header>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="wrapper">
|
||||
<div class="units-row">
|
||||
<div class="unit-20"> </div>
|
||||
<div class="unit-60"><h2><a href="">{{ .Title }}</a></h2></div>
|
||||
</div>
|
||||
<div class="units-row">
|
||||
<div class="unit-20 dateblock">{{if not (isset .Params "grlog") }}<h4>{{ .Date.Format "January 2, 2006" }}</h4>{{ else }} {{ end }}
|
||||
|
||||
|
||||
{{ range .Params.categories }}
|
||||
· <a class="small" href="{{ $baseurl }}categories/{{ . | urlize }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
|
||||
|
||||
</div>
|
||||
<div class="unit-60">
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
|
||||
{{ partial "meta_aside.html" . }}
|
||||
|
||||
{{ partial "allcats.html" . }}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<hr class="separator">
|
||||
|
||||
{{ partial "whatisthis.html" . }}
|
||||
|
||||
{{ partial "foot.html" . }}
|
||||
</body>
|
||||
</html>
|
11
layouts/blog/summary.html
Executable file
11
layouts/blog/summary.html
Executable file
|
@ -0,0 +1,11 @@
|
|||
<article class="postlist">
|
||||
<header>
|
||||
<div class="meta"><h4>{{ .Date.Format "Mon, Jan 2, 2006" }}</h4></div>
|
||||
<h2><a href='{{ .Permalink }}'> {{ .Title }}</a> </h2>
|
||||
</header>
|
||||
|
||||
{{ .Summary }}
|
||||
<footer>
|
||||
<a href='{{ .Permalink }}'><nobr>Read more →</nobr></a>
|
||||
</footer>
|
||||
</article>
|
Loading…
Add table
Add a link
Reference in a new issue