33 lines
982 B
HTML
33 lines
982 B
HTML
{{ $featured_image := partial "func/GetFeaturedImage.html" . }}
|
|
|
|
<article class="ma1 pa2 bg-light-gray flex flex-column flex-row-ns relative">
|
|
<div class="w-100 w-40-ns pr3-ns">
|
|
{{ if $featured_image }}
|
|
<a href="{{.RelPermalink}}" class="db grow">
|
|
<img src="{{ $featured_image }}" class="img" alt="{{ .Title }}">
|
|
</a>
|
|
{{ else }}
|
|
<a class="hero-pill db h-100 bg-black no-underline" href="{{.RelPermalink}}"> </a>
|
|
{{ end }}
|
|
</div>
|
|
|
|
<div class="blah w-100 w-60-ns">
|
|
<header>
|
|
<time class="f7 i fr" datetime="{{ .Date }}">
|
|
{{ .Date | time.Format .Site.Params.date_format }}
|
|
</time>
|
|
</header>
|
|
|
|
<h1 class="f3 fw1 athelas mt0 lh-title">
|
|
<a href="{{.RelPermalink}}" class="color-inherit dim link">
|
|
{{ .Title }}
|
|
</a>
|
|
</h1>
|
|
<p class="f6 f5-l lh-copy nested-copy-line-height nested-links summary">
|
|
{{ .Summary }}
|
|
</p>
|
|
</div>
|
|
|
|
{{ partial "ac_notation" .Parent }}
|
|
</article>
|