Skip to content

Commit bee7af9

Browse files
committed
correct the favicon and cc0_by image links
1 parent b9f1519 commit bee7af9

File tree

12 files changed

+27
-27
lines changed

12 files changed

+27
-27
lines changed

packages/theme/src/config/browser.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ export const sharedThemes = [
111111
export const commonDefaults = {
112112
onBrokenLinks: 'throw' as const,
113113
onBrokenMarkdownLinks: 'warn' as const,
114-
favicon: 'img/favicon.ico',
114+
favicon: '/img/favicon.ico',
115115
organizationName: 'ifla',
116116
projectName: 'standards-dev',
117117
trailingSlash: false,
118118
i18n: {
119119
defaultLocale: 'en',
120120
locales: ['en'],
121121
},
122-
};
122+
};

packages/theme/src/config/docusaurus.base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function createIFLAConfig(
4242
return {
4343
title,
4444
tagline,
45-
favicon: 'img/favicon.ico',
45+
favicon: '/img/favicon.ico',
4646

4747
// Future flags for performance
4848
future: {

packages/theme/src/config/docusaurus.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export const sharedThemeConfig = {
113113
copyright: `
114114
Copyright © ${new Date().getFullYear()} International Federation of Library Associations and Institutions (IFLA)<br />
115115
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="noopener noreferrer">
116-
<img src="img/cc0_by.png" alt="My Logo Alt Text" style="vertical-align:middle; height:24px;" />
116+
<img src="/img/cc0_by.png" alt="My Logo Alt Text" style="vertical-align:middle; height:24px;" />
117117
</a>
118118
Gordon Dunsire and Mirna Willer (Main design and content editors).
119119
`,
@@ -155,7 +155,7 @@ export const staticBaseSettings: Partial<Config> = {
155155
experimental_faster: false,
156156
v4: true,
157157
},
158-
favicon: 'img/favicon.ico',
158+
favicon: '/img/favicon.ico',
159159
// url: 'https://iflastandards.github.io', // Site-specific, so remove from base
160160
organizationName: 'iflastandards', // Common organization name
161161
trailingSlash: false, // Default, can be overridden by sites or env

packages/theme/src/config/standardSiteFactory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ function createConfigurationFactory() {
393393
experimental_faster: false,
394394
v4: true,
395395
},
396-
favicon: 'img/favicon.ico',
396+
favicon: '/img/favicon.ico',
397397
organizationName: 'iflastandards',
398398
trailingSlash: false,
399399
onBrokenLinks: 'warn',

portal/docusaurus.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const config: Config = {
2525
onBrokenAnchors: 'ignore', // Portal-specific: ignore broken anchors for management interface
2626
onDuplicateRoutes: 'warn',
2727

28-
favicon: 'img/favicon.ico',
28+
favicon: '/img/favicon.ico',
2929

3030
// Portal-specific static directories
3131
staticDirectories: ['static', '../packages/theme/static'],
@@ -150,12 +150,12 @@ const config: Config = {
150150
copyright: `
151151
Copyright © ${new Date().getFullYear()} International Federation of Library Associations and Institutions (IFLA)<br />
152152
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="noopener noreferrer">
153-
<img src="img/cc0_by.png" alt="CC BY 4.0" style="vertical-align:middle; height:24px;" />
153+
<img src="/img/cc0_by.png" alt="CC BY 4.0" style="vertical-align:middle; height:24px;" />
154154
</a>
155155
Gordon Dunsire and Mirna Willer (Main design and content editors).
156156
`,
157157
},
158158
} satisfies Preset.ThemeConfig,
159159
};
160160

161-
export default config;
161+
export default config;

standards/FRBR/docusaurus.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const config: Config = {
2525
onBrokenAnchors: 'warn',
2626
onDuplicateRoutes: 'warn',
2727

28-
favicon: 'img/favicon.ico',
28+
favicon: '/img/favicon.ico',
2929

3030
// Shared static directories for all standards sites
3131
staticDirectories: ['static', '../../packages/theme/static'],
@@ -169,12 +169,12 @@ const config: Config = {
169169
copyright: `
170170
Copyright © ${new Date().getFullYear()} International Federation of Library Associations and Institutions (IFLA)<br />
171171
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="noopener noreferrer">
172-
<img src="img/cc0_by.png" alt="CC BY 4.0" style="vertical-align:middle; height:24px;" />
172+
<img src="/img/cc0_by.png" alt="CC BY 4.0" style="vertical-align:middle; height:24px;" />
173173
</a>
174174
Gordon Dunsire and Mirna Willer (Main design and content editors).
175175
`,
176176
},
177177
} satisfies Preset.ThemeConfig,
178178
};
179179

180-
export default config;
180+
export default config;

standards/ISBDM/docusaurus.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const config: Config = {
6363
onBrokenMarkdownLinks: 'warn',
6464
onDuplicateRoutes: 'warn',
6565

66-
favicon: 'img/favicon.ico',
66+
favicon: '/img/favicon.ico',
6767

6868
// Shared static directories for all standards sites
6969
staticDirectories: ['static', '../../packages/theme/static'],
@@ -222,12 +222,12 @@ const config: Config = {
222222
copyright: `
223223
Copyright © ${new Date().getFullYear()} International Federation of Library Associations and Institutions (IFLA)<br />
224224
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="noopener noreferrer">
225-
<img src="img/cc0_by.png" alt="CC BY 4.0" style="vertical-align:middle; height:24px;" />
225+
<img src="/img/cc0_by.png" alt="CC BY 4.0" style="vertical-align:middle; height:24px;" />
226226
</a>
227227
Gordon Dunsire and Mirna Willer (Main design and content editors).
228228
`,
229229
},
230230
} satisfies Preset.ThemeConfig,
231231
};
232232

233-
export default config;
233+
export default config;

standards/LRM/docusaurus.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const config: Config = {
2525
onBrokenAnchors: 'warn',
2626
onDuplicateRoutes: 'warn',
2727

28-
favicon: 'img/favicon.ico',
28+
favicon: '/img/favicon.ico',
2929

3030
// Shared static directories for all standards sites
3131
staticDirectories: ['static', '../../packages/theme/static'],
@@ -165,12 +165,12 @@ const config: Config = {
165165
copyright: `
166166
Copyright © ${new Date().getFullYear()} International Federation of Library Associations and Institutions (IFLA)<br />
167167
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="noopener noreferrer">
168-
<img src="img/cc0_by.png" alt="CC BY 4.0" style="vertical-align:middle; height:24px;" />
168+
<img src="/img/cc0_by.png" alt="CC BY 4.0" style="vertical-align:middle; height:24px;" />
169169
</a>
170170
Gordon Dunsire and Mirna Willer (Main design and content editors).
171171
`,
172172
},
173173
} satisfies Preset.ThemeConfig,
174174
};
175175

176-
export default config;
176+
export default config;
1.12 KB
Binary file not shown.

standards/isbd/docusaurus.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const config: Config = {
2525
onBrokenAnchors: 'warn',
2626
onDuplicateRoutes: 'warn',
2727

28-
favicon: 'img/favicon.ico',
28+
favicon: '/img/favicon.ico',
2929

3030
// Shared static directories for all standards sites
3131
staticDirectories: ['static', '../../packages/theme/static'],
@@ -169,12 +169,12 @@ const config: Config = {
169169
copyright: `
170170
Copyright © ${new Date().getFullYear()} International Federation of Library Associations and Institutions (IFLA)<br />
171171
<a href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="noopener noreferrer">
172-
<img src="img/cc0_by.png" alt="CC BY 4.0" style="vertical-align:middle; height:24px;" />
172+
<img src="/img/cc0_by.png" alt="CC BY 4.0" style="vertical-align:middle; height:24px;" />
173173
</a>
174174
Gordon Dunsire and Mirna Willer (Main design and content editors).
175175
`,
176176
},
177177
} satisfies Preset.ThemeConfig,
178178
};
179179

180-
export default config;
180+
export default config;

0 commit comments

Comments
 (0)