Skip to content

Commit

Permalink
update home
Browse files Browse the repository at this point in the history
  • Loading branch information
pbjorklund committed Nov 14, 2024
1 parent 6017e93 commit a9ddb86
Showing 1 changed file with 5 additions and 33 deletions.
38 changes: 5 additions & 33 deletions layouts/partials/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,39 +15,11 @@ <h2>{{ .Site.Params.info | markdownify }} </h2>
{{ .Content }}
<section class="container list">
{{ .Content }}
{{- range .Paginator.Pages }}
<article class="post">
<header>
<h1 class="title">
<a class="title-link" href="{{ .Permalink }}">
{{ .Title }}
</a>
</h1>
<div class="post-meta">
<div class="date">
<span class="posted-on">
<i class="fa fa-calendar" aria-hidden="true"></i>
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">
{{ .Date | time.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}
</time>
</span>
<span class="reading-time">
<i class="fa fa-clock-o" aria-hidden="true"></i>
{{ i18n "reading_time" .ReadingTime }}
</span>
</div>
</div>
</header>

<div class="post-content">
{{ if .Params.featuredImage }}
<img src="{{ .Params.featuredImage | relURL }}" alt="Featured image"/>
{{ end }}
{{ .Content }}
</div>

</article>
{{- end }}
<ul>
{{- range .Paginator.Pages -}}
{{- .Render "li" -}}
{{- end -}}
</ul>

{{ partial "pagination.html" . }}
</section>
Expand Down

0 comments on commit a9ddb86

Please sign in to comment.