File tree Expand file tree Collapse file tree 7 files changed +21
-11
lines changed Expand file tree Collapse file tree 7 files changed +21
-11
lines changed 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 ">
Original file line number Diff line number Diff line change 11{{- $title := .Get "title" -}}
2- {{- $titleUrl := .Get "titleUrl" | default "." -}}
2+ {{- $titleUrl := .Get "titleUrl" | default "." -}}
33{{- $icon := .Get "icon" | default "book-open" -}}
44{{- $brandIcon := .Get "brandIcon" -}}
55{{- $isFullSizeParam := .Get "isFullSize" | default "false" -}}
4141 {{- if $title -}}
4242 < div class ="card-header ">
4343 {{- if $brandIcon -}}
44- < img class ="card-brand-icon " src ="/images/icons/{{ $brandIcon }} ">
44+ {{ with printf "images/icons/%s" $brandIcon }}
45+ < img class ="card-brand-icon " src ="{{. | absURL}} ">
46+ {{ end }}
4547 {{- else if $icon -}}
4648 {{ partial "lucide" (dict "context" . "icon" $icon) }}
4749 {{- end -}}
@@ -57,4 +59,4 @@ <h2 class="card-title">{{- $title -}}</h2>
5759</ a >
5860{{- else -}}
5961 {{ errorf "The '< card > ' must be nested directly inside the shortcode '< card-section > '. Please see the exampleSite for an example of usage." }}
60- {{- end -}}
62+ {{- end -}}
You can’t perform that action at this time.
0 commit comments