Update for the day
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
<a href="{{ .Permalink }}" class="card-link-wrapper" rel="bookmark" title="Link to {{ .Title }}" >
|
||||
{{ if isset .Params "featuredimage" }}
|
||||
<img src="{{ .Site.BaseURL }}/{{.Params.featuredimage }}" class="card-img">
|
||||
{{ end }}
|
||||
<article class="card">
|
||||
<h2 class="card-title">{{ .Title }}</h2>
|
||||
<div class="post-date card-date">Posted <time datetime="{{ .PublishDate.Format "2006-01-02 12:00" }}">{{ .PublishDate.Format "Jan 2, 2006" }}</time></div>
|
||||
<p class="card-date post-date">Posted <time datetime="{{ .PublishDate.Format "2006-01-02 12:00" }}">{{ .PublishDate.Format "Jan 2, 2006" }}</time></div>
|
||||
<p class="card-text">{{ .Description }}</p>
|
||||
<!-- {{ if .Truncated }}<a class="moretag" href="{{ .Permalink }}">Continue reading</a>{{ end }} -->
|
||||
</article>
|
||||
|
||||
@@ -5,10 +5,15 @@
|
||||
<div class="content-container">
|
||||
<main class="content">
|
||||
<article class="post">
|
||||
<header>
|
||||
<h1>{{ .Title }}</h1>
|
||||
<time datetime="{{ .PublishDate.Format "2006-01-02 12:00" }}" class="post-date">{{ .PublishDate.Format "Jan 2, 2006" }}</time>
|
||||
<header class="post-header">
|
||||
<h1 class="post-title">{{ .Title }}</h1>
|
||||
<p class="post-date">Posted <time datetime="{{ .PublishDate.Format "2006-01-02 12:00" }}">{{ .PublishDate.Format "Jan 2, 2006" }}</time></p>
|
||||
</header>
|
||||
{{ if isset .Params "featuredimage" }}
|
||||
<figure class="post-figure">
|
||||
<img src="{{ .Site.BaseURL }}/{{.Params.featuredimage }}">
|
||||
</figure>
|
||||
{{ end }}
|
||||
{{ .Content }}
|
||||
</article>
|
||||
<hr />
|
||||
|
||||
Reference in New Issue
Block a user