Initial commit
This commit is contained in:
10
layouts/_default/li.html
Normal file
10
layouts/_default/li.html
Normal file
@@ -0,0 +1,10 @@
|
||||
<article class="card">
|
||||
<div class="card-body">
|
||||
<h2 class="post-title card-text">
|
||||
<a href="{{ .Permalink }}" rel="bookmark" title="Link to {{ .Title }}">{{ .Title }}</a>
|
||||
</h2>
|
||||
<span class="post-date card-text">Published {{ .Date.Format "Jan 2, 2006" }}</span>
|
||||
<p>{{ .Description }}</p>
|
||||
{{ if .Truncated }}<a class="moretag card-text" href="{{ .Permalink }}">Continue reading</a>{{ end }}
|
||||
</div>
|
||||
</article>
|
||||
13
layouts/_default/list.html
Normal file
13
layouts/_default/list.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}" dir="ltr">
|
||||
{{ partial "head.html" . }}
|
||||
<body>
|
||||
{{.Content}}
|
||||
<section id="content" role="main" class="article-list card-columns">
|
||||
{{ range $index, $page := .Paginator.Pages }}
|
||||
{{ .Render "li" }}
|
||||
{{ end }}
|
||||
</section>
|
||||
</body>
|
||||
{{ partial "scripts.html" . }}
|
||||
</html>
|
||||
21
layouts/_default/single.html
Normal file
21
layouts/_default/single.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}" dir="ltr">
|
||||
{{ partial "head.html" . }}
|
||||
<body>
|
||||
<div class="content-container">
|
||||
<section class="article-body" role="main">
|
||||
<section>
|
||||
<span class="post-date">{{ .Date.Format "Jan 2, 2006" }}</span>
|
||||
</section>
|
||||
<article>
|
||||
{{ .Content }}
|
||||
</article>
|
||||
<hr />
|
||||
<!--
|
||||
If you're going to use DISQUS comments, insert code here.
|
||||
-->
|
||||
</section>
|
||||
</div>
|
||||
</body>
|
||||
{{ partial "scripts.html" . }}
|
||||
</html>
|
||||
Reference in New Issue
Block a user