|
1 | 1 | ---
|
2 |
| -description: Test pages for nginx-hugo-theme |
| 2 | +# The title is the product name |
3 | 3 | title: Test pages
|
4 | 4 | weight: 100
|
5 |
| -hasCustomContent: true |
| 5 | +# The URL is the base of the deployed path, becoming "docs.nginx.com/<url>/<other-pages>" |
| 6 | +url: |
| 7 | +# The subtitle displays directly underneath the heading of a given page |
| 8 | +nd-subtitle: Test pages for nginx-hugo-theme |
| 9 | +# Indicates that this is a custom landing page |
| 10 | +nd-landing-page: true |
| 11 | +# Types have a 1:1 relationship with Hugo archetypes, so you shouldn't need to change this |
| 12 | +nd-content-type: landing-page |
| 13 | +# Intended for internal catalogue and search, case sensitive: |
| 14 | +# Agent, N4Azure, NIC, NIM, NGF, NAP-DOS, NAP-WAF, NGINX One, NGINX+, Solutions, Unit |
| 15 | +nd-product: |
6 | 16 | ---
|
7 | 17 |
|
8 | 18 | ## About
|
| 19 | +[//]: # "These are Markdown comments to guide you through document structure. Remove them as you go, as well as any unnecessary sections." |
| 20 | +[//]: # "Use underscores for _italics_, and double asterisks for **bold**." |
| 21 | +[//]: # "Backticks are for `monospace`, used sparingly and reserved mostly for executable names - they can cause formatting problems. Avoid them in tables: use italics instead." |
| 22 | + |
| 23 | +[//]: # "This initial section introduces the product to a reader: give a short 1-2 sentence summary of what the product does and its value to the reader." |
| 24 | +[//]: # "Name specific functionality it provides: avoid ambiguous descriptions such as 'enables efficiency', focus on what makes it unique." |
9 | 25 |
|
10 |
| -[//]: # "Give a short 1-2 sentence summary of what the product does and its value to a customer." |
11 | 26 | This is a compilation of all our shortcodes to show how they look, function, respond, and coded.
|
12 | 27 |
|
13 | 28 | ## Featured Content
|
| 29 | +[//]: # "You can add a maximum of three cards: any extra will not display." |
| 30 | +[//]: # "One card will take full width page: two will take half width each. Three will stack like an inverse pyramid." |
| 31 | +[//]: # "Some examples of content could be the latest release note, the most common install path, and a popular new feature." |
14 | 32 |
|
15 |
| -[//]: # "Maximum of three cards available to display." |
16 |
| -[//]: # "Each card should be less than 10 words for a description." |
17 |
| -[//]: # "If more than three cards are placed here, they are not displayed." |
18 |
| -[//]: # "If there is one card, it will take full width and be the only card in the row." |
19 |
| -[//]: # "If there is two cards, one card will take half width and there will be two cards in a row." |
20 |
| -[//]: # "If there is three cards, there will be two rows, where first row has two equal-sized cards, and second row will have a full width card. Can we inversed in order to feature content." |
21 |
| -<!-- <card-layout> - Available params: title (required: string)--> |
22 | 33 | {{<card-layout >}}
|
23 |
| - <!-- <card-section> - Available params: title (required: string), showAsCards (optional: boolean, default "false"), isFeaturedSection (optional: boolean, default "false") --> |
24 |
| - <!-- If there is no "title" for <card-section>, it is implied it is the main content section and not a new content section --> |
25 | 34 | {{<card-section showAsCards="true" isFeaturedSection="true">}}
|
26 | 35 | {{<card title="Everything" titleUrl="everything" icon="circle-dot-dashed">}}
|
27 | 36 | All shortcodes in one page.
|
28 | 37 | {{</card >}}
|
29 | 38 | {{<card title="Call Out usages" titleUrl="call-out/all-callouts/" icon="message-square">}}
|
30 |
| - <!-- <card> - Available params: title (required: string), titleUrl (optional: string, relative path or absolute URL (e.g. https://google.com)), icon (optional: string, pulled from lucide), brandIcon (optional: string, takes priority over icon if provided) --> |
31 | 39 | Examples for call-out shortcode
|
32 | 40 | {{</card >}}
|
33 |
| - {{<card title="Code Block usages" titleUrl="code-blocks/code-blocks-highlighting/" icon="code">}} |
34 |
| - Examples for codeblock shortcode |
35 |
| - {{</card >}} |
36 | 41 | {{</card-section>}}
|
37 | 42 | {{</card-layout >}}
|
38 | 43 |
|
39 | 44 | ## Other Content
|
| 45 | +[//]: # "You can add any extra content for the page here, such as additional cards, diagrams or text." |
40 | 46 |
|
41 |
| -[//]: # "Provide any sort of additional supporting content you may want customers to see as well (e.g. more cards, diagrams, changelogs, etc.)" |
42 | 47 | {{<card-layout >}}
|
43 | 48 | {{<card-section title="NGINX" showAsCards="true" >}}
|
44 | 49 | {{<card title="NGINX Plus" titleUrl="/nginx/" brandIcon="NGINX-Plus-product-icon-RGB" >}}
|
|
0 commit comments