add lighthouse-ci to drone

This commit is contained in:
Robert Kaussow 2020-06-01 15:59:02 +02:00
parent e361563626
commit 178b92b0a0
11 changed files with 69 additions and 22 deletions

View file

@ -6,15 +6,13 @@
<h1 class="gdoc-post__title">
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</h1>
<div class="gdoc-post__date">{{ .Date.Format $dateFormat }}</div>
</header>
<h5>
<strong>{{ .Date.Format $dateFormat }}</strong>
</h5>
<div>
{{ .Summary }}
{{ if .Truncated }}
<a class="gdoc-post__readmore" title="Read full post" href="{{ .RelPermalink }}">
Read more
Read full post
</a>
{{ end }}
</div>

View file

@ -1,10 +1,12 @@
{{ define "main" }}
{{ $dateFormat := default "January 2, 2006" .Site.Params.GeekdocDateFormat }}
<article class="gdoc-markdown">
<h1>{{ .Title }}</h1>
<h5>
<strong>{{ .Date.Format $dateFormat }}</strong>
</h5>
<article class="gdoc-markdown gdoc-post">
<header>
<h1 class="gdoc-post__title">{{ .Title }}</h1>
<div class="gdoc-post__date">{{ .Date.Format $dateFormat }}</div>
</header>
<div>
{{ partial "content" . }}
</div>
</article>
{{ end }}