Initial resume, organize partials
This commit is contained in:
12
layouts/partials/home/article-list-item.html
Normal file
12
layouts/partials/home/article-list-item.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<article class="list-item" itemscope itemtype="http://schema.org/Blog">
|
||||
<h2 class="headline" itemprop="headline"><a href="{{ .RelPermalink }}#content">{{ .Title }}{{ if .Draft }} (Draft){{ end }}</a></h2>
|
||||
<div class="meta">
|
||||
{{ if not .Date.IsZero }}
|
||||
<span class="key">published on</span>
|
||||
<span class="val"><time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 02, 2006" }}</time></span>
|
||||
{{ end }}
|
||||
</div>
|
||||
<section class="summary">
|
||||
{{ .Summary }} {{ if .Truncated }} <a href="{{ .RelPermalink }}">Read More...</a>{{ end }}
|
||||
</section>
|
||||
</article>
|
||||
Reference in New Issue
Block a user