Skip to content

Commit eb64f93

Browse files
committed
Update config.js
1 parent 1ba6caa commit eb64f93

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

Web Docs/docs/.vitepress/config.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export default {
22
title: 'Scriptable iOS Widgets',
33
description: 'Custom iOS Widgets built with Scriptable by rushhiii',
4-
base: process.env.VITEPRESS_BASE || '/Scriptable-IOSWidgets/', // Configurable base path
4+
base: process.env.VITEPRESS_BASE || '/Scriptable-iOSWidgets/', // Configurable base path
55

66
// Transform page titles to remove emojis for clean browser tabs
77
transformPageData(pageData) {
@@ -24,8 +24,8 @@ export default {
2424
],
2525

2626
head: [
27-
['link', { rel: 'icon', href: `${process.env.VITEPRESS_BASE || '/Scriptable-IOSWidgets/'}/favicon.png`, id: 'favicon' }],
28-
['link', { rel: 'apple-touch-icon', href: `${process.env.VITEPRESS_BASE || '/Scriptable-IOSWidgets/'}/favicon.png`, id: 'apple-favicon' }],
27+
['link', { rel: 'icon', href: `${process.env.VITEPRESS_BASE || '/Scriptable-iOSWidgets/'}/favicon.png`, id: 'favicon' }],
28+
['link', { rel: 'apple-touch-icon', href: `${process.env.VITEPRESS_BASE || '/Scriptable-iOSWidgets/'}/favicon.png`, id: 'apple-favicon' }],
2929
['script', {}, `
3030
// Dynamic favicon function
3131
window.updateDynamicFavicon = function() {
@@ -60,7 +60,7 @@ export default {
6060
const favicon = document.getElementById('favicon') || document.querySelector('link[rel="icon"]');
6161
const appleFavicon = document.getElementById('apple-favicon') || document.querySelector('link[rel="apple-touch-icon"]');
6262
63-
const staticFaviconUrl = '${process.env.VITEPRESS_BASE || '/Scriptable-IOSWidgets/'}/favicon.png';
63+
const staticFaviconUrl = '${process.env.VITEPRESS_BASE || '/Scriptable-iOSWidgets/'}/favicon.png';
6464
if (favicon) favicon.href = staticFaviconUrl;
6565
if (appleFavicon) appleFavicon.href = staticFaviconUrl;
6666
return;
@@ -123,17 +123,17 @@ export default {
123123
['meta', { property: 'og:locale', content: 'en' }],
124124
['meta', { property: 'og:title', content: 'Scriptable iOS Widgets | Beautiful Custom Widgets' }],
125125
['meta', { property: 'og:site_name', content: 'Scriptable iOS Widgets' }],
126-
['meta', { property: 'og:url', content: 'https://rushhiii.github.io/Scriptable-IOSWidgets/' }]
126+
['meta', { property: 'og:url', content: 'https://rushhiii.github.io/Scriptable-iOSWidgets/' }]
127127
],
128128

129129
themeConfig: {
130-
logo: 'https://raw.githubusercontent.com/rushhiii/Scriptable-IOSWidgets/main/.src/scriptable_icon.png',
130+
logo: 'https://raw.githubusercontent.com/rushhiii/Scriptable-iOSWidgets/main/.src/scriptable_icon.png',
131131

132132
nav: [
133133
{ text: 'Home', link: '/' },
134134
{ text: 'Overview', link: '/widgets/' },
135135
{ text: 'Installation', link: '/installation' },
136-
{ text: 'GitHub', link: 'https://github.com/rushhiii/Scriptable-IOSWidgets' }
136+
{ text: 'GitHub', link: 'https://github.com/rushhiii/Scriptable-iOSWidgets' }
137137
],
138138

139139
sidebar: [
@@ -169,7 +169,7 @@ export default {
169169
],
170170

171171
socialLinks: [
172-
{ icon: 'github', link: 'https://github.com/rushhiii/Scriptable-IOSWidgets' }
172+
{ icon: 'github', link: 'https://github.com/rushhiii/Scriptable-iOSWidgets' }
173173
],
174174

175175
footer: {
@@ -181,7 +181,7 @@ export default {
181181
},
182182

183183
editLink: {
184-
pattern: 'https://github.com/rushhiii/Scriptable-IOSWidgets/edit/main/docs/:path'
184+
pattern: 'https://github.com/rushhiii/Scriptable-iOSWidgets/edit/main/docs/:path'
185185
},
186186

187187
search: {

Web Docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
"documentation",
1010
"vitepress"
1111
],
12-
"homepage": "https://rushhiii.github.io/Scriptable-IOSWidgets/",
12+
"homepage": "https://rushhiii.github.io/Scriptable-iOSWidgets/",
1313
"bugs": {
14-
"url": "https://github.com/rushhiii/Scriptable-IOSWidgets/issues"
14+
"url": "https://github.com/rushhiii/Scriptable-iOSWidgets/issues"
1515
},
1616
"repository": {
1717
"type": "git",
18-
"url": "git+https://github.com/rushhiii/Scriptable-IOSWidgets.git"
18+
"url": "git+https://github.com/rushhiii/Scriptable-iOSWidgets.git"
1919
},
2020
"license": "MIT",
2121
"author": {

0 commit comments

Comments
 (0)