File tree Expand file tree Collapse file tree 11 files changed +28
-24
lines changed Expand file tree Collapse file tree 11 files changed +28
-24
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,8 @@ name: Lint and Biome Check
44on :
55 push :
66 branches :
7- - ' ** '
7+ - ' main '
88 pull_request :
9- branches :
10- - main
119
1210jobs :
1311 biome :
Original file line number Diff line number Diff line change @@ -4,10 +4,8 @@ name: Running Playwright test on UI
44on :
55 push :
66 branches :
7- - ' ** '
7+ - ' main '
88 pull_request :
9- branches :
10- - main
119
1210jobs :
1311 playwright :
5351 owner: context.repo.owner,
5452 repo: context.repo.repo,
5553 body: body,
56- });
54+ });
Original file line number Diff line number Diff line change 11---
22title : Example Site for NGINX Hugo Theme
3- description :
3+ description :
44---
55
6- ## NGINX Hugo Theme Documentation
6+ ## NGINX Hugo Theme Documentation
77Documentation for hugo theme
88{{<card-section >}}
99 {{<card title =" Test Product " titleUrl =" /test-product/ " icon =" test-tubes " isLanding =" true " >}}
@@ -12,8 +12,7 @@ Documentation for hugo theme
1212 {{<card title =" Test Nested Product " titleUrl =" /nested/product " icon =" test-tubes " isLanding =" true " >}}
1313 Test nested product path
1414 {{</card >}}
15- {{<card title =" NGINX Plus " titleUrl =" /nginx/ " brandIcon =" NGINX-Plus-product-icon-RGB .svg " isLanding =" true " >}}
15+ {{<card title =" NGINX Plus " titleUrl =" /nginx/ " brandIcon =" NGINX-Plus-product-icon.svg " isLanding =" true " >}}
1616 See a live example of theme components
1717 {{</card >}}
1818{{</card-section >}}
19-
Original file line number Diff line number Diff line change @@ -10,8 +10,7 @@ weight: 200
1010nd-reading-time : true
1111---
1212
13- ![ hero-graphic] ( /hero-graphic.webp )
14-
13+ {{<img src =" hero-graphic.webp " alt =" hero graphic " >}}
1514``` nginx
1615
1716# Global Configuration
Original file line number Diff line number Diff line change 1010 {{ end }}
1111 </ div >
1212 < div class ="list-header-container ">
13- < img src ="/images/icons/{{ .Params.logo | default "NGINX-product-icon.svg " }}">
13+ {{ $logo := .Params.logo | default "NGINX-product-icon.svg"}}
14+ {{ with printf "images/icons/%s" $logo }}
15+ < img src ="{{. | absURL}} ">
16+ {{ end }}
17+
1418 < div class ="list-header-title ">
1519 < h1 > {{ .Title }}</ h1 >
1620 {{ if index .Params "nd-subtitle" }}
Original file line number Diff line number Diff line change 1- < link rel ="shortcut icon " type ="image/x-icon " href ="{{ "/ images/favicon-48x48.ico" | absURL }}">
1+ < link rel ="shortcut icon " type ="image/x-icon " href ="{{ "images /favicon-48x48.ico" | absURL }}">
Original file line number Diff line number Diff line change 11< div class ="footer-layout ">
22 < div class ="footer-f5-trademark " data-testid ="footer-f5-trademark ">
3- < img class ="f5-logo-footer " src ="{{ "/ images/icons/Logo_F5.svg" | absURL }}" alt="F5 logo">
3+ < img class ="f5-logo-footer " src ="{{ "images /icons/Logo_F5.svg" | absURL }}" alt="F5 logo ">
44 < p > ©2025 F5, Inc. All rights reserved. NGINX is a registered trademark of F5, Inc.</ p >
55 </ div >
66 < div class ="footer-useful-links " data-testid ="footer-useful-links ">
Original file line number Diff line number Diff line change 2424
2525 < div class ="header__logo " data-testid ="header__logo ">
2626 < a class ="header__logo-link " href ="{{ .Site.BaseURL | relLangURL }} " alt ="NGINX Docs Home ">
27- < img class ="header__img " src ="{{ "/ images/icons/NGINX-Open-Source-product-icon.svg" | absURL }}" alt="NGINX Docs">
27+ < img class ="header__img " src ="{{ "images /icons/NGINX-Open-Source-product-icon.svg" | absURL }}" alt="NGINX Docs ">
2828 </ a >
2929 </ div >
3030
Original file line number Diff line number Diff line change 11{{- /* Usage: */ -}}
22{{- /* (dict "context" . "icon" "circle") */ -}}
3- < svg xmlns ="http://www.w3.org/2000/svg " width ="24 " height ="24 " viewBox ="0 0 24 24 " aria-hidden ="true " class ="lucide " style ="{{ .style | safeCSS }} "> < use href ="/images/lucide-sprite.svg#{{ .icon }} "> </ use > </ svg >
3+ < svg xmlns ="http://www.w3.org/2000/svg " width ="24 " height ="24 " viewBox ="0 0 24 24 " aria-hidden ="true " class ="lucide " style ="{{ .style | safeCSS }} ">
4+ {{ with printf "images/lucide-sprite.svg#%s" .icon }}
5+ < use href ="{{. | absURL}} "> </ use >
6+ {{ end }}
7+ </ svg >
Original file line number Diff line number Diff line change 2424{{ end }}
2525
2626< meta property ="article:publisher " content ="https://www.facebook.com/nginxinc " />
27- < meta property ="og:image " content ="{{ "/ images/icons/NGINX-Docs-new-docs-dark-1200x630.png" | absURL }}" />
27+ < meta property ="og:image " content ="{{ "images /icons/NGINX-Docs-new-docs-dark-1200x630.png" | absURL }}" />
2828< meta property ="og:image:width " content ="500 " />
2929< meta property ="og:image:height " content ="300 " />
3030< meta name ="twitter:card " content ="summary " />
3131< meta name ="twitter:description " content ="{{.Page.Description}} " />
3232< meta name ="twitter:title " content ="{{.Page.Title}} " />
3333< meta name ="twitter:site " content ="@nginx " />
34- < meta name ="twitter:image " content ="{{ "/ images/icons/NGINX-Docs-new-docs-dark-1200x630.png" | absURL }}" />
34+ < meta name ="twitter:image " content ="{{ "images /icons/NGINX-Docs-new-docs-dark-1200x630.png" | absURL }}" />
3535< meta name ="twitter:creator " content ="@nginx " />
3636{{ if .Page.Lastmod }}
3737< meta http-equiv ="last-modified " content ="{{ .Page.Lastmod.Format "02 /01/2006" }}" />
6666<!-- Coveo metadata-->
6767< meta name ="product " content ="{{ .Site.Title }} ">
6868< meta name ="version " content ="{{ .Site.Params.currentVersion }} ">
69- < meta name ="doc_type " content ="Manual ">
69+ < meta name ="doc_type " content ="Manual ">
You can’t perform that action at this time.
0 commit comments