1
1
{{ define "main" }}
2
+ {{ $nginxProducts := slice
3
+ (dict "title" "NGINX One Console" "url" "/nginx-one" "type" "nginx-one")
4
+ (dict "title" "NGINX Plus" "url" "/nginx" "type" "nginx-one")
5
+ (dict "title" "NGINX Instance Manager" "url" "/nginx-instance-manager" "type" "nginx-one")
6
+ (dict "title" "NGINX Ingress Controller" "url" "/nginx-ingress-controller" "type" "nginx-one")
7
+ (dict "title" "NGINX Gateway Fabric" "url" "/nginx-gateway-fabric" "type" "nginx-one")
8
+ (dict "title" "NGINX Open Source" "url" "https://nginx.org/en/docs/" "type" "nginx-one")
9
+ (dict "title" "NGINX Agent" "url" "/nginx-agent" "type" "nginx-one")
10
+ (dict "title" "NGINX App Protect WAF" "url" "/nginx-app-protect-waf" "type" "nginx-app-protect")
11
+ (dict "title" "NGINX App Protect DoS" "url" "/nginx-app-protect-dos" "type" "nginx-app-protect")
12
+ (dict "title" "NGINX as a Service for Azure" "url" "/nginxaas/azure/" "type" "nginx-as-a-service")
13
+ (dict "title" "NGINX Unit" "url" "https://unit.nginx.org/" "type" "nginx-other")
14
+ }}
2
15
3
- < h1 > Homepage Example</ h1 >
4
- < p >
5
- < ul >
6
- < li >
7
- < a href ="{{ relref . "nginx " }}"> NGINX and NGINX Plus</ a >
8
- </ li >
9
- < li >
10
- < a href ="{{ relref . "test-product " }}"> Test Product</ a >
11
- </ li >
12
- </ ul >
13
- </ p >
16
+ {{ $nginxCategories :=
17
+ (dict
18
+ "nginx-one" "NGINX One"
19
+ "nginx-app-protect" "NGINX App Protect"
20
+ "nginx-as-a-service" "NGINX as a Service"
21
+ "nginx-other" "Other NGINX Projects"
22
+ )
23
+ }}
14
24
25
+ < div class ="main ">
26
+ < div class ="home-layout ">
27
+ < h1 > Documentation</ h1 >
28
+ < p > This is a short call to action to explore our examples and guides.</ p >
29
+
30
+ < div class ="cta ">
31
+ < a href ="https://nginx.org " class ="get-started-button "> Get started with NGINX One →</ a > or < a href ="#products "> explore all products</ a > .
32
+ </ div >
33
+
34
+ < div class ="jump-links ">
35
+ < ul >
36
+ < h3 > Instance management</ h3 >
37
+ < li > < a href ="https://docs.nginx.com/nginx-one/how-to/certificates/manage-certificates/ "> Manage certificates< span class ="tiny-pill "> One</ span > </ a > </ li >
38
+ < li > < a href ="# "> Role-based access control</ a > </ li >
39
+ < li > < a href ="# "> Create a new data plane key</ a > </ li >
40
+ </ ul >
41
+ < ul >
42
+ < h3 > Kubernetes</ h3 >
43
+ < li > < a href ="https://docs.nginx.com/nginx-one/how-to/certificates/manage-certificates/ "> Manage certificates</ a > </ li >
44
+ < li > < a href ="# "> Role-based access control</ a > </ li >
45
+ < li > < a href ="# "> Create a new data plane key</ a > </ li >
46
+ </ ul >
47
+ < ul >
48
+ < h3 > Load balancing</ h3 >
49
+ < li > < a href ="# "> NGINX HTTP Load Balancing</ a > </ li >
50
+ < li > < a href ="# "> NGINX TCP and UDP Load Balancing</ a > </ li >
51
+ < li > < a href ="# "> GSLB with NS1 and NGINX Plus< span class ="tiny-pill "> N+</ span > </ a > </ li >
52
+ </ ul >
53
+ </ div >
15
54
55
+ < p > The F5 NGINX One Console makes it easy to manage NGINX instances across locations and environments. The console lets you monitor and control your NGINX fleet from one place—you can check configurations, track performance metrics, identify security vulnerabilities, manage SSL certificates, and more.</ p >
56
+
57
+ < div id ="products ">
58
+ < h2 > All products</ h2 >
59
+ {{ $groupedProducts := dict
60
+ "nginx-one" (where $nginxProducts "type" "nginx-one")
61
+ "nginx-app-protect" (where $nginxProducts "type" "nginx-app-protect")
62
+ "nginx-as-a-service" (where $nginxProducts "type" "nginx-as-a-service")
63
+ "nginx-other" (where $nginxProducts "type" "nginx-other")
64
+ }}
65
+ {{ $orderedKeys := slice "nginx-one" "nginx-app-protect" "nginx-as-a-service" "nginx-other" }}
66
+ {{ range $orderedKeys }}
67
+ {{ $type := . }}
68
+ {{ $products := index $groupedProducts $type }}
69
+ < div class ="product-grid ">
70
+ < p > {{ index $nginxCategories $type }}</ p >
71
+ < ul >
72
+ {{ range $products }}
73
+ < li >
74
+ < a href ="{{ .url }} "> {{ .title }}</ a >
75
+ </ li >
76
+ {{ end }}
77
+ </ ul >
78
+ </ div >
79
+ {{ end }}
80
+ </ div >
81
+ </ div >
82
+ </ div >
16
83
{{end}}
0 commit comments