@janga/norna 0.7.25 → 0.7.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/astro.config.mjs +26 -12
- package/bin/norna-cli.mjs +12 -0
- package/package.json +14 -5
- package/schemas/card-list.schema.json +121 -0
- package/schemas/category.schema.json +2 -2
- package/schemas/config.schema.json +306 -32
- package/schemas/content-frontmatter.schema.json +7 -7
- package/schemas/image-carousel.schema.json +43 -0
- package/schemas/image-stack.schema.json +43 -0
- package/schemas/manifest.json +6 -1
- package/schemas/page-theme.schema.json +26 -26
- package/schemas/sitewide-content.schema.json +18 -18
- package/schemas/theme.schema.json +237 -262
- package/scripts/dev-local.mjs +24 -2
- package/scripts/generate-schemas.mjs +15 -3
- package/scripts/lib/category-destinations.mjs +48 -0
- package/scripts/lib/code-fence-metadata.mjs +14 -37
- package/scripts/lib/content-tabs.mjs +155 -0
- package/scripts/lib/details-headings.mjs +58 -0
- package/scripts/lib/docusaurus-migration-audit.mjs +603 -0
- package/scripts/lib/editor-language-service.mjs +238 -116
- package/scripts/lib/locale-registry.mjs +597 -0
- package/scripts/lib/locales/az-Latn.mjs +78 -0
- package/scripts/lib/locales/be.mjs +78 -0
- package/scripts/lib/locales/bg.mjs +78 -0
- package/scripts/lib/locales/bs.mjs +78 -0
- package/scripts/lib/locales/ca.mjs +78 -0
- package/scripts/lib/locales/cnr.mjs +78 -0
- package/scripts/lib/locales/cs.mjs +78 -0
- package/scripts/lib/locales/da.mjs +78 -0
- package/scripts/lib/locales/de.mjs +78 -0
- package/scripts/lib/locales/el.mjs +78 -0
- package/scripts/lib/locales/en.mjs +78 -0
- package/scripts/lib/locales/es.mjs +78 -0
- package/scripts/lib/locales/et.mjs +78 -0
- package/scripts/lib/locales/fi.mjs +78 -0
- package/scripts/lib/locales/fil.mjs +78 -0
- package/scripts/lib/locales/fr.mjs +78 -0
- package/scripts/lib/locales/ga.mjs +78 -0
- package/scripts/lib/locales/ha.mjs +78 -0
- package/scripts/lib/locales/hr.mjs +78 -0
- package/scripts/lib/locales/hu.mjs +78 -0
- package/scripts/lib/locales/id.mjs +78 -0
- package/scripts/lib/locales/is.mjs +78 -0
- package/scripts/lib/locales/it.mjs +78 -0
- package/scripts/lib/locales/jv.mjs +78 -0
- package/scripts/lib/locales/lb.mjs +78 -0
- package/scripts/lib/locales/lt.mjs +78 -0
- package/scripts/lib/locales/lv.mjs +78 -0
- package/scripts/lib/locales/mk.mjs +78 -0
- package/scripts/lib/locales/mt.mjs +78 -0
- package/scripts/lib/locales/nb.mjs +78 -0
- package/scripts/lib/locales/nl.mjs +78 -0
- package/scripts/lib/locales/nn.mjs +78 -0
- package/scripts/lib/locales/pcm.mjs +78 -0
- package/scripts/lib/locales/pl.mjs +78 -0
- package/scripts/lib/locales/pt.mjs +78 -0
- package/scripts/lib/locales/ro.mjs +78 -0
- package/scripts/lib/locales/ru.mjs +78 -0
- package/scripts/lib/locales/sk.mjs +78 -0
- package/scripts/lib/locales/sl.mjs +78 -0
- package/scripts/lib/locales/sq.mjs +78 -0
- package/scripts/lib/locales/sr-Cyrl.mjs +78 -0
- package/scripts/lib/locales/sr-Latn.mjs +78 -0
- package/scripts/lib/locales/sv.mjs +78 -0
- package/scripts/lib/locales/sw.mjs +78 -0
- package/scripts/lib/locales/tr.mjs +78 -0
- package/scripts/lib/locales/uk.mjs +78 -0
- package/scripts/lib/locales/vi.mjs +78 -0
- package/scripts/lib/markdown-links.mjs +4 -25
- package/scripts/lib/markdown-notes-render-plugin.mjs +75 -0
- package/scripts/lib/markdown-notes.mjs +165 -0
- package/scripts/lib/norna-markdown-blocks.mjs +32 -447
- package/scripts/lib/norna-markdown-render-plugin.mjs +4 -0
- package/scripts/lib/page-aliases.mjs +12 -1
- package/scripts/lib/page-markdown.mjs +63 -16
- package/scripts/lib/page-move-plan.mjs +22 -5
- package/scripts/lib/pagefind-translations.mjs +620 -0
- package/scripts/lib/presentation-contract.mjs +6 -1
- package/scripts/lib/presentation.mjs +29 -30
- package/scripts/lib/project-config.mjs +2 -173
- package/scripts/lib/schema-definitions.mjs +3 -10
- package/scripts/lib/schema-editor-metadata.mjs +22 -43
- package/scripts/lib/schema-value-definitions.mjs +4 -8
- package/scripts/lib/semantic-callouts.mjs +4 -2
- package/scripts/lib/site-content.mjs +4 -2
- package/scripts/lib/site-link-graph.mjs +16 -6
- package/scripts/lib/site-navigation-tree.mjs +0 -11
- package/scripts/lib/sitemap.mjs +5 -3
- package/scripts/lib/structured-blocks.mjs +108 -0
- package/scripts/lib/table-render-plugin.mjs +46 -3
- package/scripts/lib/table-row-headers.mjs +218 -0
- package/scripts/lib/theme-presets.mjs +3 -10
- package/scripts/lib/yaml-config.mjs +2 -6
- package/scripts/migrate-check.mjs +19 -0
- package/scripts/sync-content-sections.mjs +39 -10
- package/scripts/sync-site-public.mjs +7 -1
- package/src/components/CodeBlockCopyScript.astro +47 -5
- package/src/components/ContentBlocks.astro +39 -0
- package/src/components/ContentTabsScript.astro +60 -0
- package/src/components/DisplaySettings.astro +17 -19
- package/src/components/NavigationPageTree.astro +1 -1
- package/src/components/NoteNavigationScript.astro +4 -0
- package/src/components/PageAliasRedirect.astro +5 -4
- package/src/components/SearchNavigationScript.astro +4 -0
- package/src/components/SearchPage.astro +43 -2
- package/src/components/SectionNavigationScript.astro +43 -11
- package/src/components/SiteBreadcrumbs.astro +1 -1
- package/src/components/SiteNavigation.astro +29 -20
- package/src/components/SitePage.astro +40 -15
- package/src/components/SiteSection.astro +5 -81
- package/src/components/SiteTreeNavigation.astro +2 -2
- package/src/components/TableOverflowScript.astro +386 -58
- package/src/components/TopPageMenu.astro +47 -0
- package/src/components/TreeNavigationScript.astro +10 -3
- package/src/layouts/BaseLayout.astro +8 -12
- package/src/lib/navigationFollowing.ts +142 -0
- package/src/lib/noteNavigation.ts +50 -0
- package/src/lib/searchNavigation.ts +107 -0
- package/src/lib/sectionContent.ts +20 -90
- package/src/lib/siteNavigation.ts +0 -5
- package/src/lib/sitePages.ts +13 -2
- package/src/lib/table-sort-tooltip.ts +109 -0
- package/src/pages/[...slug].astro +16 -6
- package/src/styles/content.css +394 -132
- package/src/styles/foundations.css +9 -0
- package/src/styles/media.css +5 -0
- package/src/styles/navigation.css +63 -74
- package/src/styles/page-layout.css +7 -0
- package/src/styles/responsive.css +2 -7
|
@@ -6,44 +6,318 @@
|
|
|
6
6
|
"type": "string",
|
|
7
7
|
"format": "uri",
|
|
8
8
|
"description": "Absolute public URL for the built site.",
|
|
9
|
-
"markdownDescription": "```yaml\nurl: https://example.com/\n```\n\nThe absolute public URL. Its path also determines the base path for generated links and assets.\n\n[Public URL reference](https://github.com/janga/norna/blob/v0.7.
|
|
9
|
+
"markdownDescription": "```yaml\nurl: https://example.com/\n```\n\nThe absolute public URL. Its path also determines the base path for generated links and assets.\n\n[Public URL reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#url)",
|
|
10
10
|
"examples": [
|
|
11
11
|
"https://example.com/",
|
|
12
12
|
"https://owner.github.io/repository-name/"
|
|
13
13
|
]
|
|
14
14
|
},
|
|
15
15
|
"language": {
|
|
16
|
-
"description": "Site language tag
|
|
16
|
+
"description": "Site language tag selecting one complete built-in Norna interface language; the default is en.",
|
|
17
17
|
"type": "string",
|
|
18
|
-
"pattern": "^(?:en|sv)(?:-[
|
|
18
|
+
"pattern": "^(?:en(?:-Latn)?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|es(?:-Latn)?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|fr(?:-Latn)?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|pt(?:-Latn)?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|ru(?:-Cyrl)?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|sw(?:-Latn)?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|jv(?:-Latn)?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|id(?:-Latn)?(?:-(?:[A-Za-z]{2}|[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-9]{3}))?|sq(?:-Latn)?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|az-Latn(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|be(?:-Cyrl)?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|bs(?:-Latn)?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|ca(?:-Latn)?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|is(?:-Latn)?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|lb(?:-Latn)?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|mk(?:-Cyrl)?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|cnr(?:-Latn)?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|nb(?:-Latn)?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|nn(?:-Latn)?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|sr-Cyrl(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|sr-Latn(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|uk(?:-Cyrl)?(?:-(?:[A-Za-z]{2}|[0-9]{3}))?)$",
|
|
19
19
|
"default": "en",
|
|
20
20
|
"examples": [
|
|
21
21
|
"en",
|
|
22
22
|
"sv",
|
|
23
|
+
"es",
|
|
24
|
+
"el",
|
|
25
|
+
"uk",
|
|
26
|
+
"sr-Cyrl",
|
|
23
27
|
"en-GB",
|
|
24
|
-
"
|
|
28
|
+
"pt-BR"
|
|
25
29
|
],
|
|
26
30
|
"oneOf": [
|
|
27
31
|
{
|
|
28
32
|
"const": "en",
|
|
29
33
|
"title": "English",
|
|
30
34
|
"description": "Use Norna's built-in English interface text.",
|
|
31
|
-
"markdownDescription": "Use Norna's built-in English interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.
|
|
35
|
+
"markdownDescription": "Use Norna's built-in English interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"const": "es",
|
|
39
|
+
"title": "Español — Spanish",
|
|
40
|
+
"description": "Use Norna's built-in Spanish interface text.",
|
|
41
|
+
"markdownDescription": "Use Norna's built-in Spanish interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"const": "fr",
|
|
45
|
+
"title": "Français — French",
|
|
46
|
+
"description": "Use Norna's built-in French interface text.",
|
|
47
|
+
"markdownDescription": "Use Norna's built-in French interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"const": "pt",
|
|
51
|
+
"title": "Português — Portuguese",
|
|
52
|
+
"description": "Use Norna's built-in Portuguese interface text.",
|
|
53
|
+
"markdownDescription": "Use Norna's built-in Portuguese interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"const": "ru",
|
|
57
|
+
"title": "Русский — Russian",
|
|
58
|
+
"description": "Use Norna's built-in Russian interface text.",
|
|
59
|
+
"markdownDescription": "Use Norna's built-in Russian interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"const": "sw",
|
|
63
|
+
"title": "Kiswahili — Swahili",
|
|
64
|
+
"description": "Use Norna's built-in Swahili interface text.",
|
|
65
|
+
"markdownDescription": "Use Norna's built-in Swahili interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"const": "jv",
|
|
69
|
+
"title": "Basa Jawa — Javanese",
|
|
70
|
+
"description": "Use Norna's built-in Javanese interface text.",
|
|
71
|
+
"markdownDescription": "Use Norna's built-in Javanese interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"const": "id",
|
|
75
|
+
"title": "Bahasa Indonesia — Indonesian",
|
|
76
|
+
"description": "Use Norna's built-in Indonesian interface text.",
|
|
77
|
+
"markdownDescription": "Use Norna's built-in Indonesian interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"const": "de",
|
|
81
|
+
"title": "Deutsch — German",
|
|
82
|
+
"description": "Use Norna's built-in German interface text.",
|
|
83
|
+
"markdownDescription": "Use Norna's built-in German interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"const": "it",
|
|
87
|
+
"title": "Italiano — Italian",
|
|
88
|
+
"description": "Use Norna's built-in Italian interface text.",
|
|
89
|
+
"markdownDescription": "Use Norna's built-in Italian interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"const": "vi",
|
|
93
|
+
"title": "Tiếng Việt — Vietnamese",
|
|
94
|
+
"description": "Use Norna's built-in Vietnamese interface text.",
|
|
95
|
+
"markdownDescription": "Use Norna's built-in Vietnamese interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"const": "tr",
|
|
99
|
+
"title": "Türkçe — Turkish",
|
|
100
|
+
"description": "Use Norna's built-in Turkish interface text.",
|
|
101
|
+
"markdownDescription": "Use Norna's built-in Turkish interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"const": "fil",
|
|
105
|
+
"title": "Filipino",
|
|
106
|
+
"description": "Use Norna's built-in Filipino interface text.",
|
|
107
|
+
"markdownDescription": "Use Norna's built-in Filipino interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"const": "pcm",
|
|
111
|
+
"title": "Naijá — Nigerian Pidgin",
|
|
112
|
+
"description": "Use Norna's built-in Nigerian Pidgin interface text.",
|
|
113
|
+
"markdownDescription": "Use Norna's built-in Nigerian Pidgin interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"const": "ha",
|
|
117
|
+
"title": "Hausa",
|
|
118
|
+
"description": "Use Norna's built-in Hausa interface text.",
|
|
119
|
+
"markdownDescription": "Use Norna's built-in Hausa interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
32
120
|
},
|
|
33
121
|
{
|
|
34
122
|
"const": "sv",
|
|
35
|
-
"title": "Swedish",
|
|
123
|
+
"title": "Svenska — Swedish",
|
|
36
124
|
"description": "Use Norna's built-in Swedish interface text.",
|
|
37
|
-
"markdownDescription": "Use Norna's built-in Swedish interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.
|
|
125
|
+
"markdownDescription": "Use Norna's built-in Swedish interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"const": "bg",
|
|
129
|
+
"title": "Български — Bulgarian",
|
|
130
|
+
"description": "Use Norna's built-in Bulgarian interface text.",
|
|
131
|
+
"markdownDescription": "Use Norna's built-in Bulgarian interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"const": "hr",
|
|
135
|
+
"title": "Hrvatski — Croatian",
|
|
136
|
+
"description": "Use Norna's built-in Croatian interface text.",
|
|
137
|
+
"markdownDescription": "Use Norna's built-in Croatian interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"const": "cs",
|
|
141
|
+
"title": "Čeština — Czech",
|
|
142
|
+
"description": "Use Norna's built-in Czech interface text.",
|
|
143
|
+
"markdownDescription": "Use Norna's built-in Czech interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"const": "da",
|
|
147
|
+
"title": "Dansk — Danish",
|
|
148
|
+
"description": "Use Norna's built-in Danish interface text.",
|
|
149
|
+
"markdownDescription": "Use Norna's built-in Danish interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"const": "nl",
|
|
153
|
+
"title": "Nederlands — Dutch",
|
|
154
|
+
"description": "Use Norna's built-in Dutch interface text.",
|
|
155
|
+
"markdownDescription": "Use Norna's built-in Dutch interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"const": "et",
|
|
159
|
+
"title": "Eesti — Estonian",
|
|
160
|
+
"description": "Use Norna's built-in Estonian interface text.",
|
|
161
|
+
"markdownDescription": "Use Norna's built-in Estonian interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"const": "fi",
|
|
165
|
+
"title": "Suomi — Finnish",
|
|
166
|
+
"description": "Use Norna's built-in Finnish interface text.",
|
|
167
|
+
"markdownDescription": "Use Norna's built-in Finnish interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"const": "el",
|
|
171
|
+
"title": "Ελληνικά — Greek",
|
|
172
|
+
"description": "Use Norna's built-in Greek interface text.",
|
|
173
|
+
"markdownDescription": "Use Norna's built-in Greek interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"const": "hu",
|
|
177
|
+
"title": "Magyar — Hungarian",
|
|
178
|
+
"description": "Use Norna's built-in Hungarian interface text.",
|
|
179
|
+
"markdownDescription": "Use Norna's built-in Hungarian interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"const": "ga",
|
|
183
|
+
"title": "Gaeilge — Irish",
|
|
184
|
+
"description": "Use Norna's built-in Irish interface text.",
|
|
185
|
+
"markdownDescription": "Use Norna's built-in Irish interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"const": "lv",
|
|
189
|
+
"title": "Latviešu — Latvian",
|
|
190
|
+
"description": "Use Norna's built-in Latvian interface text.",
|
|
191
|
+
"markdownDescription": "Use Norna's built-in Latvian interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"const": "lt",
|
|
195
|
+
"title": "Lietuvių — Lithuanian",
|
|
196
|
+
"description": "Use Norna's built-in Lithuanian interface text.",
|
|
197
|
+
"markdownDescription": "Use Norna's built-in Lithuanian interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"const": "mt",
|
|
201
|
+
"title": "Malti — Maltese",
|
|
202
|
+
"description": "Use Norna's built-in Maltese interface text.",
|
|
203
|
+
"markdownDescription": "Use Norna's built-in Maltese interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"const": "pl",
|
|
207
|
+
"title": "Polski — Polish",
|
|
208
|
+
"description": "Use Norna's built-in Polish interface text.",
|
|
209
|
+
"markdownDescription": "Use Norna's built-in Polish interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"const": "ro",
|
|
213
|
+
"title": "Română — Romanian",
|
|
214
|
+
"description": "Use Norna's built-in Romanian interface text.",
|
|
215
|
+
"markdownDescription": "Use Norna's built-in Romanian interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"const": "sk",
|
|
219
|
+
"title": "Slovenčina — Slovak",
|
|
220
|
+
"description": "Use Norna's built-in Slovak interface text.",
|
|
221
|
+
"markdownDescription": "Use Norna's built-in Slovak interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"const": "sl",
|
|
225
|
+
"title": "Slovenščina — Slovenian",
|
|
226
|
+
"description": "Use Norna's built-in Slovenian interface text.",
|
|
227
|
+
"markdownDescription": "Use Norna's built-in Slovenian interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"const": "sq",
|
|
231
|
+
"title": "Shqip — Albanian",
|
|
232
|
+
"description": "Use Norna's built-in Albanian interface text.",
|
|
233
|
+
"markdownDescription": "Use Norna's built-in Albanian interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"const": "az-Latn",
|
|
237
|
+
"title": "Azərbaycanca — Azerbaijani (Latin)",
|
|
238
|
+
"description": "Use Norna's built-in Azerbaijani (Latin) interface text in the Latn script.",
|
|
239
|
+
"markdownDescription": "Use Norna's built-in Azerbaijani (Latin) interface text in the Latn script.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"const": "be",
|
|
243
|
+
"title": "Беларуская — Belarusian",
|
|
244
|
+
"description": "Use Norna's built-in Belarusian interface text.",
|
|
245
|
+
"markdownDescription": "Use Norna's built-in Belarusian interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"const": "bs",
|
|
249
|
+
"title": "Bosanski — Bosnian",
|
|
250
|
+
"description": "Use Norna's built-in Bosnian interface text.",
|
|
251
|
+
"markdownDescription": "Use Norna's built-in Bosnian interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"const": "ca",
|
|
255
|
+
"title": "Català — Catalan",
|
|
256
|
+
"description": "Use Norna's built-in Catalan interface text.",
|
|
257
|
+
"markdownDescription": "Use Norna's built-in Catalan interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"const": "is",
|
|
261
|
+
"title": "Íslenska — Icelandic",
|
|
262
|
+
"description": "Use Norna's built-in Icelandic interface text.",
|
|
263
|
+
"markdownDescription": "Use Norna's built-in Icelandic interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"const": "lb",
|
|
267
|
+
"title": "Lëtzebuergesch — Luxembourgish",
|
|
268
|
+
"description": "Use Norna's built-in Luxembourgish interface text.",
|
|
269
|
+
"markdownDescription": "Use Norna's built-in Luxembourgish interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"const": "mk",
|
|
273
|
+
"title": "Македонски — Macedonian",
|
|
274
|
+
"description": "Use Norna's built-in Macedonian interface text.",
|
|
275
|
+
"markdownDescription": "Use Norna's built-in Macedonian interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"const": "cnr",
|
|
279
|
+
"title": "Crnogorski — Montenegrin",
|
|
280
|
+
"description": "Use Norna's built-in Montenegrin interface text.",
|
|
281
|
+
"markdownDescription": "Use Norna's built-in Montenegrin interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"const": "nb",
|
|
285
|
+
"title": "Norsk bokmål — Norwegian Bokmål",
|
|
286
|
+
"description": "Use Norna's built-in Norwegian Bokmål interface text.",
|
|
287
|
+
"markdownDescription": "Use Norna's built-in Norwegian Bokmål interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"const": "nn",
|
|
291
|
+
"title": "Norsk nynorsk — Norwegian Nynorsk",
|
|
292
|
+
"description": "Use Norna's built-in Norwegian Nynorsk interface text.",
|
|
293
|
+
"markdownDescription": "Use Norna's built-in Norwegian Nynorsk interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"const": "sr-Cyrl",
|
|
297
|
+
"title": "Српски — Serbian (Cyrillic)",
|
|
298
|
+
"description": "Use Norna's built-in Serbian (Cyrillic) interface text in the Cyrl script.",
|
|
299
|
+
"markdownDescription": "Use Norna's built-in Serbian (Cyrillic) interface text in the Cyrl script.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"const": "sr-Latn",
|
|
303
|
+
"title": "Srpski — Serbian (Latin)",
|
|
304
|
+
"description": "Use Norna's built-in Serbian (Latin) interface text in the Latn script.",
|
|
305
|
+
"markdownDescription": "Use Norna's built-in Serbian (Latin) interface text in the Latn script.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"const": "uk",
|
|
309
|
+
"title": "Українська — Ukrainian",
|
|
310
|
+
"description": "Use Norna's built-in Ukrainian interface text.",
|
|
311
|
+
"markdownDescription": "Use Norna's built-in Ukrainian interface text.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
38
312
|
},
|
|
39
313
|
{
|
|
40
314
|
"type": "string",
|
|
41
|
-
"pattern": "^(?:en|sv)-[
|
|
42
|
-
"title": "Regional
|
|
43
|
-
"description": "
|
|
315
|
+
"pattern": "^(?:en(?:-Latn(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|-(?:[A-Za-z]{2}|[0-9]{3}))|es(?:-Latn(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|-(?:[A-Za-z]{2}|[0-9]{3}))|fr(?:-Latn(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|-(?:[A-Za-z]{2}|[0-9]{3}))|pt(?:-Latn(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|-(?:[A-Za-z]{2}|[0-9]{3}))|ru(?:-Cyrl(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|-(?:[A-Za-z]{2}|[0-9]{3}))|sw(?:-Latn(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|-(?:[A-Za-z]{2}|[0-9]{3}))|jv(?:-Latn(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|-(?:[A-Za-z]{2}|[0-9]{3}))|id(?:-Latn(?:-(?:[A-Za-z]{2}|[0-9]{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-(?:[A-Za-z]{2}|[0-9]{3}))|mk(?:-Cyrl(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|-(?:[A-Za-z]{2}|[0-9]{3}))|cnr(?:-Latn(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|-(?:[A-Za-z]{2}|[0-9]{3}))|nb(?:-Latn(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|-(?:[A-Za-z]{2}|[0-9]{3}))|nn(?:-Latn(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|-(?:[A-Za-z]{2}|[0-9]{3}))|sr-Cyrl-(?:[A-Za-z]{2}|[0-9]{3})|sr-Latn-(?:[A-Za-z]{2}|[0-9]{3})|uk(?:-Cyrl(?:-(?:[A-Za-z]{2}|[0-9]{3}))?|-(?:[A-Za-z]{2}|[0-9]{3})))$",
|
|
316
|
+
"title": "Regional or script-qualified tag",
|
|
317
|
+
"description": "Add a region to a supported language, such as en-GB, pt-BR, or sr-Cyrl-RS. Norna preserves the complete tag in generated HTML."
|
|
44
318
|
}
|
|
45
319
|
],
|
|
46
|
-
"markdownDescription": "```yaml\nlanguage: en-GB\n```\n\nSets the
|
|
320
|
+
"markdownDescription": "```yaml\nlanguage: en-GB\n```\n\nSets the language of the complete site and selects the matching built-in Norna interface text. Regional tags are preserved. The default is `en`; editorial Markdown is not translated.\n\n[Language reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#language)"
|
|
47
321
|
},
|
|
48
322
|
"editLink": {
|
|
49
323
|
"type": "object",
|
|
@@ -52,7 +326,7 @@
|
|
|
52
326
|
"type": "string",
|
|
53
327
|
"format": "uri",
|
|
54
328
|
"description": "Absolute edit URL prefix containing the repository, branch, and any repository subdirectory.",
|
|
55
|
-
"markdownDescription": "```yaml\neditLink:\n baseUrl: https://github.com/owner/repository/edit/main/\n```\n\nOptional absolute remote edit URL prefix. Include any repository subdirectory and branch. Norna adds the project-relative path to each page's `content.md` file. This destination is used by published output and LAN previews.\n\n[Edit-link reference](https://github.com/janga/norna/blob/v0.7.
|
|
329
|
+
"markdownDescription": "```yaml\neditLink:\n baseUrl: https://github.com/owner/repository/edit/main/\n```\n\nOptional absolute remote edit URL prefix. Include any repository subdirectory and branch. Norna adds the project-relative path to each page's `content.md` file. This destination is used by published output and LAN previews.\n\n[Edit-link reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#edit-link)",
|
|
56
330
|
"examples": [
|
|
57
331
|
"https://github.com/owner/repository/edit/main/"
|
|
58
332
|
]
|
|
@@ -65,10 +339,10 @@
|
|
|
65
339
|
"const": "vscode",
|
|
66
340
|
"title": "Visual Studio Code",
|
|
67
341
|
"description": "Open the current page source in the locally installed Visual Studio Code application.",
|
|
68
|
-
"markdownDescription": "Open the current page source in the locally installed Visual Studio Code application.\n\n[Edit-link reference](https://github.com/janga/norna/blob/v0.7.
|
|
342
|
+
"markdownDescription": "Open the current page source in the locally installed Visual Studio Code application.\n\n[Edit-link reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#edit-link)"
|
|
69
343
|
}
|
|
70
344
|
],
|
|
71
|
-
"markdownDescription": "```yaml\neditLink:\n localEditor: vscode\n```\n\nOptional editor for a development preview opened through localhost or another loopback address. `vscode` opens the absolute page source path through VS Code's registered URL handler. The setting is never emitted as a local path in published output.\n\n[Edit-link reference](https://github.com/janga/norna/blob/v0.7.
|
|
345
|
+
"markdownDescription": "```yaml\neditLink:\n localEditor: vscode\n```\n\nOptional editor for a development preview opened through localhost or another loopback address. `vscode` opens the absolute page source path through VS Code's registered URL handler. The setting is never emitted as a local path in published output.\n\n[Edit-link reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#edit-link)",
|
|
72
346
|
"examples": [
|
|
73
347
|
"vscode"
|
|
74
348
|
]
|
|
@@ -76,7 +350,7 @@
|
|
|
76
350
|
},
|
|
77
351
|
"additionalProperties": false,
|
|
78
352
|
"description": "Optional local and remote links from rendered pages to their Markdown source files.",
|
|
79
|
-
"markdownDescription": "```yaml\neditLink:\n localEditor: vscode\n baseUrl: https://github.com/owner/repository/edit/main/\n```\n\nLinks each rendered page to its `content.md` source. A loopback development preview uses the explicitly selected local editor; published output and LAN previews use the optional remote base URL. Specify either destination or both.\n\n[Edit-link reference](https://github.com/janga/norna/blob/v0.7.
|
|
353
|
+
"markdownDescription": "```yaml\neditLink:\n localEditor: vscode\n baseUrl: https://github.com/owner/repository/edit/main/\n```\n\nLinks each rendered page to its `content.md` source. A loopback development preview uses the explicitly selected local editor; published output and LAN previews use the optional remote base URL. Specify either destination or both.\n\n[Edit-link reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#edit-link)",
|
|
80
354
|
"anyOf": [
|
|
81
355
|
{
|
|
82
356
|
"required": [
|
|
@@ -92,7 +366,7 @@
|
|
|
92
366
|
"defaultSnippets": [
|
|
93
367
|
{
|
|
94
368
|
"label": "Local and remote source links",
|
|
95
|
-
"markdownDescription": "Open page source in VS Code during same-computer development and on the remote source host elsewhere.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
369
|
+
"markdownDescription": "Open page source in VS Code during same-computer development and on the remote source host elsewhere.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#edit-link)",
|
|
96
370
|
"body": {
|
|
97
371
|
"localEditor": "vscode",
|
|
98
372
|
"baseUrl": "https://github.com/${1:owner}/${2:repository}/edit/${3:main}/"
|
|
@@ -104,35 +378,35 @@
|
|
|
104
378
|
"type": "object",
|
|
105
379
|
"properties": {
|
|
106
380
|
"mode": {
|
|
107
|
-
"description": "
|
|
381
|
+
"description": "How Norna presents the discovered page and heading hierarchy. Omit this to select automatic.",
|
|
108
382
|
"type": "string",
|
|
109
383
|
"oneOf": [
|
|
110
384
|
{
|
|
111
385
|
"const": "automatic",
|
|
112
386
|
"title": "Automatic",
|
|
113
|
-
"description": "Choose
|
|
114
|
-
"markdownDescription": "Choose
|
|
387
|
+
"description": "Choose one site-wide navigation presentation from the listed page hierarchy. This is the default.",
|
|
388
|
+
"markdownDescription": "Choose one site-wide navigation presentation from the listed page hierarchy. This is the default.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#navigation)"
|
|
115
389
|
},
|
|
116
390
|
{
|
|
117
391
|
"const": "sections",
|
|
118
392
|
"title": "Sections",
|
|
119
|
-
"description": "
|
|
120
|
-
"markdownDescription": "
|
|
393
|
+
"description": "Keep a one-page site title and its H2 sections in sticky page navigation.",
|
|
394
|
+
"markdownDescription": "Keep a one-page site title and its H2 sections in sticky page navigation.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#navigation)"
|
|
121
395
|
},
|
|
122
396
|
{
|
|
123
397
|
"const": "top",
|
|
124
398
|
"title": "Top",
|
|
125
|
-
"description": "
|
|
126
|
-
"markdownDescription": "
|
|
399
|
+
"description": "Keep top-level pages in the global row and give the current page section navigation when needed.",
|
|
400
|
+
"markdownDescription": "Keep top-level pages in the global row and give the current page section navigation when needed.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#navigation)"
|
|
127
401
|
},
|
|
128
402
|
{
|
|
129
403
|
"const": "tree",
|
|
130
404
|
"title": "Tree",
|
|
131
|
-
"description": "
|
|
132
|
-
"markdownDescription": "
|
|
405
|
+
"description": "Keep top-level areas global and add a persistent left page tree. Deep branches can add a right H2/H3 contents rail.",
|
|
406
|
+
"markdownDescription": "Keep top-level areas global and add a persistent left page tree. Deep branches can add a right H2/H3 contents rail.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#navigation)"
|
|
133
407
|
}
|
|
134
408
|
],
|
|
135
|
-
"markdownDescription": "```yaml\nnavigation:\n mode: automatic\n```\n\
|
|
409
|
+
"markdownDescription": "```yaml\nnavigation:\n mode: automatic\n```\n\nHow Norna presents the discovered page and heading hierarchy. Omit this to select automatic.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#navigation)",
|
|
136
410
|
"examples": [
|
|
137
411
|
"automatic",
|
|
138
412
|
"sections",
|
|
@@ -143,13 +417,13 @@
|
|
|
143
417
|
},
|
|
144
418
|
"additionalProperties": false,
|
|
145
419
|
"description": "Site-wide navigation behavior.",
|
|
146
|
-
"markdownDescription": "```yaml\nnavigation:\n mode: automatic\n```\n\
|
|
420
|
+
"markdownDescription": "```yaml\nnavigation:\n mode: automatic\n```\n\nChooses how Norna presents the discovered page and heading hierarchy. Keep `automatic` unless the site deliberately needs to retain one presentation as its structure changes.\n\n[Navigation setting reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#navigation)"
|
|
147
421
|
},
|
|
148
422
|
"search": {
|
|
149
423
|
"default": false,
|
|
150
424
|
"description": "Generate a static site search page and Pagefind index. The default is false.",
|
|
151
425
|
"type": "boolean",
|
|
152
|
-
"markdownDescription": "```yaml\nsearch: true\n```\n\nGenerates a localized `/search/` page and a static Pagefind index during each build. Search is off by default
|
|
426
|
+
"markdownDescription": "```yaml\nsearch: true\n```\n\nGenerates a localized `/search/` page and a static Pagefind index during each build. Search is off by default. Only the search page loads the search engine and index; a small navigation script remembers where readers opened it.\n\n[Search reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#search)",
|
|
153
427
|
"examples": [
|
|
154
428
|
true,
|
|
155
429
|
false
|
|
@@ -164,16 +438,16 @@
|
|
|
164
438
|
"const": "instant",
|
|
165
439
|
"title": "Instant",
|
|
166
440
|
"description": "Jump directly to anchors without animated scrolling. This is the default.",
|
|
167
|
-
"markdownDescription": "Jump directly to anchors without animated scrolling. This is the default.\n\n[Scroll behavior reference](https://github.com/janga/norna/blob/v0.7.
|
|
441
|
+
"markdownDescription": "Jump directly to anchors without animated scrolling. This is the default.\n\n[Scroll behavior reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#scrollbehavior)"
|
|
168
442
|
},
|
|
169
443
|
{
|
|
170
444
|
"const": "smooth",
|
|
171
445
|
"title": "Browser smooth",
|
|
172
446
|
"description": "Use the browser's native smooth scrolling for anchor navigation.",
|
|
173
|
-
"markdownDescription": "Use the browser's native smooth scrolling for anchor navigation.\n\n[Scroll behavior reference](https://github.com/janga/norna/blob/v0.7.
|
|
447
|
+
"markdownDescription": "Use the browser's native smooth scrolling for anchor navigation.\n\n[Scroll behavior reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#scrollbehavior)"
|
|
174
448
|
}
|
|
175
449
|
],
|
|
176
|
-
"markdownDescription": "```yaml\nscrollBehavior: smooth\n```\n\nControls same-page anchor movement. `instant` is the default; `smooth` uses the browser's native smooth scrolling.\n\n[Scroll behavior reference](https://github.com/janga/norna/blob/v0.7.
|
|
450
|
+
"markdownDescription": "```yaml\nscrollBehavior: smooth\n```\n\nControls same-page anchor movement. `instant` is the default; `smooth` uses the browser's native smooth scrolling.\n\n[Scroll behavior reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md#scrollbehavior)",
|
|
177
451
|
"examples": [
|
|
178
452
|
"instant",
|
|
179
453
|
"smooth"
|
|
@@ -187,5 +461,5 @@
|
|
|
187
461
|
"description": "Technical settings for one Norna site. Additional pages cannot provide technical configuration.",
|
|
188
462
|
"$id": "https://janga.github.io/norna/schemas/config.schema.json",
|
|
189
463
|
"title": "Norna site configuration",
|
|
190
|
-
"markdownDescription": "```yaml\nurl: https://example.com/\n```\n\n`config.yaml` contains the few technical settings shared by the complete site.\n\n[Configuration reference](https://github.com/janga/norna/blob/v0.7.
|
|
464
|
+
"markdownDescription": "```yaml\nurl: https://example.com/\n```\n\n`config.yaml` contains the few technical settings shared by the complete site.\n\n[Configuration reference](https://github.com/janga/norna/blob/v0.7.26/docs/configuration.md)"
|
|
191
465
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"description": "Optional page-specific meta description.",
|
|
10
10
|
"type": "string",
|
|
11
11
|
"minLength": 1,
|
|
12
|
-
"markdownDescription": "```yaml\npage:\n description: About this project.\n```\n\nAn optional page-specific description rendered as `<meta name=\"description\">`. It is not visible in page content.\n\n[Page title and frontmatter reference](https://github.com/janga/norna/blob/v0.7.
|
|
12
|
+
"markdownDescription": "```yaml\npage:\n description: About this project.\n```\n\nAn optional page-specific description rendered as `<meta name=\"description\">`. It is not visible in page content.\n\n[Page title and frontmatter reference](https://github.com/janga/norna/blob/v0.7.26/docs/content.md#page-title-and-frontmatter)",
|
|
13
13
|
"examples": [
|
|
14
14
|
"About this project."
|
|
15
15
|
]
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"type": "string",
|
|
23
23
|
"pattern": "^\\/(?:[a-z0-9]+(?:-[a-z0-9]+)*\\/)+$",
|
|
24
24
|
"description": "Previous site-relative URL that permanently identifies this page.",
|
|
25
|
-
"markdownDescription": "```yaml\npage:\n aliases:\n - /old-about/\n```\n\nUse a previous Norna page URL. Start and end with `/`; use lowercase ASCII letters, numbers, and single hyphens; do not include the configured base path, a query string, or a fragment.\n\n[Alias path rules](https://github.com/janga/norna/blob/v0.7.
|
|
25
|
+
"markdownDescription": "```yaml\npage:\n aliases:\n - /old-about/\n```\n\nUse a previous Norna page URL. Start and end with `/`; use lowercase ASCII letters, numbers, and single hyphens; do not include the configured base path, a query string, or a fragment.\n\n[Alias path rules](https://github.com/janga/norna/blob/v0.7.26/docs/pages.md#preserve-old-page-urls)",
|
|
26
26
|
"examples": [
|
|
27
27
|
"/old-about/"
|
|
28
28
|
]
|
|
29
29
|
},
|
|
30
|
-
"markdownDescription": "```yaml\npage:\n aliases:\n - /old-about/\n```\n\nLists previous site-relative URLs that permanently identify this page. The page containing the list is always the target. Paths omit the configured base path and are excluded from the sitemap.\n\n[Preserve old page URLs](https://github.com/janga/norna/blob/v0.7.
|
|
30
|
+
"markdownDescription": "```yaml\npage:\n aliases:\n - /old-about/\n```\n\nLists previous site-relative URLs that permanently identify this page. The page containing the list is always the target. Paths omit the configured base path and are excluded from the sitemap.\n\n[Preserve old page URLs](https://github.com/janga/norna/blob/v0.7.26/docs/pages.md#preserve-old-page-urls)",
|
|
31
31
|
"examples": [
|
|
32
32
|
[
|
|
33
33
|
"/old-about/"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"additionalProperties": false,
|
|
39
39
|
"description": "Optional metadata for this homepage or additional page. The Markdown H1 supplies the page title.",
|
|
40
|
-
"markdownDescription": "```yaml\npage:\n description: About this project.\n aliases:\n - /old-about/\n```\n\nContains optional metadata for the current homepage or additional page. The Markdown H1 supplies its title. An alias records an old URL for this same page.\n\n[Page title and frontmatter reference](https://github.com/janga/norna/blob/v0.7.
|
|
40
|
+
"markdownDescription": "```yaml\npage:\n description: About this project.\n aliases:\n - /old-about/\n```\n\nContains optional metadata for the current homepage or additional page. The Markdown H1 supplies its title. An alias records an old URL for this same page.\n\n[Page title and frontmatter reference](https://github.com/janga/norna/blob/v0.7.26/docs/content.md#page-title-and-frontmatter)"
|
|
41
41
|
},
|
|
42
42
|
"navigation": {
|
|
43
43
|
"description": "Optional navigation metadata for this page.",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"default": true,
|
|
48
48
|
"description": "List this page in site navigation. The page remains public when false.",
|
|
49
49
|
"type": "boolean",
|
|
50
|
-
"markdownDescription": "```yaml\nnavigation:\n listed: false\n```\n\nList this page in site navigation. The page remains public when false.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.
|
|
50
|
+
"markdownDescription": "```yaml\nnavigation:\n listed: false\n```\n\nList this page in site navigation. The page remains public when false.\n\n[Read the relevant reference](https://github.com/janga/norna/blob/v0.7.26/docs/pages.md#navigation)",
|
|
51
51
|
"examples": [
|
|
52
52
|
true,
|
|
53
53
|
false
|
|
@@ -55,12 +55,12 @@
|
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
57
|
"additionalProperties": false,
|
|
58
|
-
"markdownDescription": "```yaml\nnavigation:\n listed: false\n```\n\nOptionally excludes an additional page from site navigation without removing its public URL.\n\n[Site navigation reference](https://github.com/janga/norna/blob/v0.7.
|
|
58
|
+
"markdownDescription": "```yaml\nnavigation:\n listed: false\n```\n\nOptionally excludes an additional page from site navigation without removing its public URL.\n\n[Site navigation reference](https://github.com/janga/norna/blob/v0.7.26/docs/pages.md#navigation)"
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
"additionalProperties": false,
|
|
62
62
|
"description": "Frontmatter for a homepage or additional page content.md file.",
|
|
63
63
|
"$id": "https://janga.github.io/norna/schemas/content-frontmatter.schema.json",
|
|
64
64
|
"title": "Norna page frontmatter",
|
|
65
|
-
"markdownDescription": "```yaml\n---\npage:\n description: About this project.\n---\n```\n\nContent frontmatter is optional. Write the page title as the single Markdown H1; use frontmatter only for optional metadata or navigation settings.\n\n[Page title and frontmatter reference](https://github.com/janga/norna/blob/v0.7.
|
|
65
|
+
"markdownDescription": "```yaml\n---\npage:\n description: About this project.\n---\n```\n\nContent frontmatter is optional. Write the page title as the single Markdown H1; use frontmatter only for optional metadata or navigation settings.\n\n[Page title and frontmatter reference](https://github.com/janga/norna/blob/v0.7.26/docs/content.md#page-title-and-frontmatter)"
|
|
66
66
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"description": "Display two or more managed images in an interactive carousel.",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"additionalProperties": false,
|
|
6
|
+
"required": [
|
|
7
|
+
"items"
|
|
8
|
+
],
|
|
9
|
+
"properties": {
|
|
10
|
+
"items": {
|
|
11
|
+
"type": "array",
|
|
12
|
+
"minItems": 2,
|
|
13
|
+
"items": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"additionalProperties": false,
|
|
16
|
+
"required": [
|
|
17
|
+
"image"
|
|
18
|
+
],
|
|
19
|
+
"properties": {
|
|
20
|
+
"image": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "Start another managed carousel image.",
|
|
23
|
+
"minLength": 1,
|
|
24
|
+
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9.-]*\\.(?:[jJ][pP][eE]?[gG]|[pP][nN][gG]|[sS][vV][gG])$(?![\\s\\S])"
|
|
25
|
+
},
|
|
26
|
+
"alt": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "Optional alternative text for the image.",
|
|
29
|
+
"pattern": "^(?:|(?=.*\\S)[^\\x00-\\x1F\\x7F-\\x9F\\u2028\\u2029]+)$(?![\\s\\S])"
|
|
30
|
+
},
|
|
31
|
+
"caption": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "Optional visible caption for the image.",
|
|
34
|
+
"minLength": 1,
|
|
35
|
+
"pattern": "^(?=[\\s\\S]*\\S)[^\\x00-\\x08\\x0B\\x0C\\x0E-\\x1F\\x7F-\\x9F]*$(?![\\s\\S])"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"$id": "https://janga.github.io/norna/schemas/image-carousel.schema.json",
|
|
42
|
+
"title": "Norna image-carousel"
|
|
43
|
+
}
|