diff --git a/.lighthouserc.yml b/.lighthouserc.yml index 0304d7d..cb77031 100644 --- a/.lighthouserc.yml +++ b/.lighthouserc.yml @@ -1,7 +1,7 @@ --- ci: collect: - numberOfRuns: 2 + numberOfRuns: 3 staticDistDir: exampleSite/public url: - http://localhost/ @@ -13,12 +13,17 @@ ci: preset: "lighthouse:no-pwa" assertions: uses-long-cache-ttl: off - render-blocking-resources: off - tap-targets: off - first-contentful-paint: off - first-meaningful-paint: off - largest-contentful-paint: off - unsized-images: off + tap-targets: warn + unsized-images: warn + categories:performance: + - error + - minScore: 0.95 + categories:accessibility: + - error + - minScore: 1 + categories:seo: + - error + - minScore: 0.95 upload: target: filesystem outputDir: lhci_reports diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d7d0b7..656cc5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,2 +1,3 @@ - ENHANCEMENT - improve and normalize microblog formatting + - add font and css preloading links diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index 324469b..ba93035 100644 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -2,11 +2,16 @@ title: Documentation --- -[![Build Status](https://img.shields.io/drone/build/xoxys/hugo-geekdoc?logo=drone)](https://cloud.drone.io/xoxys/hugo-geekdoc) -[![Hugo Version](https://img.shields.io/badge/hugo-0.65-blue.svg)](https://gohugo.io) -[![GitHub release](https://img.shields.io/github/v/release/xoxys/hugo-geekdoc)](https://github.com/xoxys/hugo-geekdoc/releases/latest) -[![GitHub contributors](https://img.shields.io/github/contributors/xoxys/hugo-geekdoc)](https://github.com/xoxys/hugo-geekdoc/graphs/contributors) -[![License: MIT](https://img.shields.io/github/license/xoxys/hugo-geekdoc)](https://github.com/xoxys/hugo-geekdoc/blob/master/LICENSE) + + + +[![Build Status](https://img.shields.io/drone/build/xoxys/hugo-geekdoc?logo=drone)](https://cloud.drone.io/xoxys/hugo-geekdoc) +[![Hugo Version](https://img.shields.io/badge/hugo-0.65-blue.svg)](https://gohugo.io) +[![GitHub release](https://img.shields.io/github/v/release/xoxys/hugo-geekdoc)](https://github.com/xoxys/hugo-geekdoc/releases/latest) +[![GitHub contributors](https://img.shields.io/github/contributors/xoxys/hugo-geekdoc)](https://github.com/xoxys/hugo-geekdoc/graphs/contributors) +[![License: MIT](https://img.shields.io/github/license/xoxys/hugo-geekdoc)](https://github.com/xoxys/hugo-geekdoc/blob/master/LICENSE) + + Geekdoc is a simple Hugo theme for documentations. It is intentionally designed as a fast and lean theme and may not fit the requirements of complex projects. If a more feature-complete theme is required there are a lot of got alternatives out there. You can find a demo and the full documentation at [https://geekdocs.de](https://geekdocs.de). diff --git a/layouts/partials/head.html b/layouts/partials/head.html index daa0c0b..2cd9f60 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -5,7 +5,19 @@