Switched to SPF13 theme

This commit is contained in:
Salar Rahmanian 2017-03-26 12:39:20 -04:00
parent dc8f68529f
commit 6425fec733
286 changed files with 3612 additions and 6951 deletions

5
layouts/_default/li.html Normal file
View file

@ -0,0 +1,5 @@
<li>
<a href="{{ .Permalink }}">{{ .Title }} {{ if .GetParam "draft"}}DRAFT{{end}}</a>
<div class="meta">{{ .Date.Format "Mon, Jan 2, 2006" }}</div>
</li>

View file

@ -0,0 +1,20 @@
{{ partial "header.html" . }}
<body lang="en">
{{ partial "subheader.html" . }}
<section id="main">
<div>
<h1 id="title">{{ .Title }}</h1>
{{ range .Data.Pages.GroupByDate "2006" }}
<h2>{{ .Key }}</h2>
<ul id="list">
{{ range .Pages }}
{{ .Render "li"}}
{{ end }}
</ul>
{{ end }}
</div>
</section>
<aside id="meta"> </aside>
{{ partial "footer.html" . }}

View file

@ -0,0 +1,18 @@
{{ partial "header.html" . }}
<body lang="en" itemscope itemtype="http://schema.org/Article">
{{ partial "subheader.html" . }}
{{ $baseurl := .Site.BaseURL }}
<section id="main">
<h1 itemprop="name" id="title">{{ .Title }}</h1>
<div>
<article itemprop="articleBody" id="content">
{{ .Content }}
</article>
</div>
</section>
{{ partial "meta_aside.html" . }}
{{ partial "disqus.html" . }}
{{ partial "footer.html" . }}

View file

@ -0,0 +1,11 @@
<article class="post">
<header>
<h2><a href="{{ .Permalink }}">{{ .Title }} {{ if .Draft }}:: DRAFT{{end}}</a> </h2>
<div class="post-meta">{{ .Date.Format "Mon, Jan 2, 2006" }} </div>
</header>
{{ .Summary }}
<footer>
<a href='{{ .Permalink }}'><nobr>Read more →</nobr></a>
</footer>
</article>

View file

@ -0,0 +1,17 @@
{{ partial "header.html" . }}
<body lang="en">
{{ partial "subheader.html" . }}
<section id="main">
<div>
<h1 id="title">{{ .Title }}</h1>
{{ $data := .Data }}
{{ range $key,$value := .Data.Terms.ByCount }}
<h2><a href="{{ $data.Plural }}/{{ $value.Name | urlize }}"> {{ $value.Name }} </a> {{ $value.Count }} </h2>
{{ end }}
</div>
</section>
<aside id="meta"> </aside>
{{ partial "footer.html" . }}

View file

@ -0,0 +1,4 @@
<li>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</li>