mirror of
https://github.com/softinio/softinio.com.git
synced 2025-09-03 10:36:42 -07:00
Switched to SPF13 theme
This commit is contained in:
parent
dc8f68529f
commit
6425fec733
286 changed files with 3612 additions and 6951 deletions
5
layouts/_default/li.html
Normal file
5
layouts/_default/li.html
Normal 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>
|
||||
|
20
layouts/_default/section.html
Normal file
20
layouts/_default/section.html
Normal 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" . }}
|
18
layouts/_default/single.html
Normal file
18
layouts/_default/single.html
Normal 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" . }}
|
11
layouts/_default/summary.html
Normal file
11
layouts/_default/summary.html
Normal 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>
|
17
layouts/_default/terms.html
Normal file
17
layouts/_default/terms.html
Normal 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" . }}
|
4
layouts/_default/title.html
Normal file
4
layouts/_default/title.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<li>
|
||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
</li>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue