mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-06-03 00:49:43 +02:00
fix var usage
This commit is contained in:
parent
146e5c817e
commit
fd44f5884d
|
@ -9,8 +9,18 @@ ci:
|
|||
- http://localhost/usage/getting-started/
|
||||
settings:
|
||||
chromeFlags: "--no-sandbox"
|
||||
onlyCategories: ['performance', 'accessibility', 'best-practices', 'seo']
|
||||
skipAudits: ["color-contrast", "uses-long-cache-ttl", "csp-xss", "bf-cache", "is-crawlable", "image-size-responsive"]
|
||||
onlyCategories: ["performance", "accessibility", "best-practices", "seo"]
|
||||
skipAudits:
|
||||
[
|
||||
"color-contrast",
|
||||
"uses-long-cache-ttl",
|
||||
"csp-xss",
|
||||
"bf-cache",
|
||||
"is-crawlable",
|
||||
"image-size-responsive",
|
||||
"render-blocking-resources",
|
||||
"largest-contentful-paint"
|
||||
]
|
||||
assert:
|
||||
preset: "lighthouse:no-pwa"
|
||||
assertions:
|
||||
|
@ -21,6 +31,8 @@ ci:
|
|||
bf-cache: off
|
||||
is-crawlable: off
|
||||
image-size-responsive: off
|
||||
render-blocking-resources: off
|
||||
largest-contentful-paint: off
|
||||
tap-targets: warn
|
||||
unsized-images: warn
|
||||
# FIXME: https://github.com/GoogleChrome/lighthouse/issues/11460
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
</label>
|
||||
{{ end }}
|
||||
<div>
|
||||
<a class="gdoc-brand gdoc-header__link" href="{{ .Site.Home.Permalink }}">
|
||||
<a class="gdoc-brand gdoc-header__link" href="{{ .Root.Site.Home.Permalink }}">
|
||||
<span class="flex align-center">
|
||||
<img
|
||||
class="gdoc-brand__img"
|
||||
|
@ -47,7 +47,7 @@
|
|||
</span>
|
||||
|
||||
<span class="gdoc-menu-header__home">
|
||||
<a href="{{ .Site.Home.Permalink }}" class="gdoc-header__link">
|
||||
<a href="{{ .Root.Site.Home.Permalink }}" class="gdoc-header__link">
|
||||
<svg class="gdoc-icon gdoc_home">
|
||||
<title>{{ i18n "button_homepage" }}</title>
|
||||
<use xlink:href="#gdoc_home"></use>
|
||||
|
|
Loading…
Reference in New Issue
Block a user