You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
{{ define "main" }}
<div class="about"> <h1>Latest post</h1> {{ range first 1 .Site.RegularPages }} <article class="h-entry entry"> <a rel="author" class="p-author h-card" href="{{ .RelPermalink }}" style="display:none;"><img class="u-photo" src="/images/profile.jpg" />{{ .Site.Params.Title }}</a> {{if eq .Type "article"}}<h3 class="post-title p-name entry-title"><a class="u-url" href="{{ .RelPermalink }}">{{ .Title }}</a></h3> <h4 class="decription"><a href="{{ .RelPermalink }}">{{ .Description }}</a></h4>{{end}} <div class="info"> <i class="fa fa-sun"></i><a class="u-url" href="{{ .RelPermalink }}"><span class="date"><span class="date"><time class="dt-published" datetime="{{ .Date.Format "2 Jan 2006 15:04 GMT" }}">{{ .Date.Format "Mon, Jan 2, 2006" }}</time></span></a> <i class="fa fa-clock"></i><span class="reading-time">{{ .ReadingTime }}-minute read</span> </div> <div class="e-content">{{ .Content }}</div> <div class="post-footer"> <div class="info"> {{ with .Page.Params.Blog }}{{ partial "taxonomy/blog.html" . }}{{ end }} {{ with .Page.Params.Categories }}{{ partial "taxonomy/categories.html" . }}{{ end }} {{ with .Page.Params.Tags }}{{ partial "taxonomy/tags.html" . }}{{ end }} </div> </div> </article> <a href="https://brid.gy/publish/mastodon"></a> {{ end }} </div> {{ end }}
|