Add summary, full and li layouts. Removinh ld+json.

This commit is contained in:
Fredrik Jonsson 2017-05-16 15:37:13 +02:00
commit 10d36011ee
3 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,8 @@
<article class="{{ with .Section }}section-{{ . | urlize }}{{ end }} full-view">
<header>
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a><h2>
</header>
<div>
{{ .Content }}
</div>
</article>

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

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

View file

@ -0,0 +1,9 @@
<article class="{{ with .Section }}section-{{ . | urlize }}{{ end }} list-view">
<header>
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a><h2>
</header>
<div>
{{ .Summary }}
</div>
<a class="read-more" href="{{ .Permalink }}">Read the rest of this posting</a>
</article>