This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
2017-02-26 21:24:53 +00:00
|
|
|
<a href="{{ .Permalink }}">
|
|
|
|
<div class="entry-embed-header">
|
2023-02-03 07:13:01 +00:00
|
|
|
{{ $slug := path.BaseName .RelPermalink }}
|
|
|
|
<div class="entry-embed" style="background: url('{{ .Site.BaseURL }}/images/banners/{{ .Params.Banner | default (print $slug ".png") }}')">
|
2017-02-26 21:24:53 +00:00
|
|
|
<header>
|
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
</header>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{/* Each entry-meta is 40 + 5 padding in height. */}}
|
|
|
|
<div class="entry-meta" style="position: absolute; top: 5px; right: 20px;">
|
|
|
|
{{ .Date.Format "January 02 2006" }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{ range .Params.tags }}
|
|
|
|
<div class="entry-meta" style="position: absolute; top: 45px; right: 20px;">
|
|
|
|
{{ . }}
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</a>
|