-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1771 from kubosho/export-each-site-data-variables
feat(site_data): export each variables
- Loading branch information
Showing
1 changed file
with
12 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,16 @@ | ||
const BASE_LANGUAGE = 'ja'; | ||
export const BASE_LANGUAGE = 'ja'; | ||
|
||
const AUTHOR = 'kubosho'; | ||
const AUTHOR_WITH_UNDERSCORE = `${AUTHOR}_`; | ||
export const AUTHOR = 'kubosho'; | ||
export const AUTHOR_WITH_UNDERSCORE = `${AUTHOR}_`; | ||
|
||
const SITE_HOSTNAME = 'blog.kubosho.com'; | ||
const SITE_URL = `https://${SITE_HOSTNAME}`; | ||
const LOCAL_SITE_HOSTNAME = 'localhost:3000'; | ||
const LOCAL_SITE_URL = `http://${LOCAL_SITE_HOSTNAME}`; | ||
export const SITE_HOSTNAME = 'blog.kubosho.com' as const; | ||
export const SITE_URL = `https://${SITE_HOSTNAME}` as const; | ||
export const LOCAL_SITE_HOSTNAME = 'localhost' as const; | ||
export const LOCAL_SITE_PORT = 4321 as const; | ||
export const LOCAL_SITE_URL = `http://${LOCAL_SITE_HOSTNAME}:${LOCAL_SITE_PORT}` as const; | ||
|
||
const TWITTER_ACCOUNT_ID = AUTHOR_WITH_UNDERSCORE; | ||
const FACEBOOK_APP_ID = '2453282784920956'; | ||
export const TWITTER_ACCOUNT_ID = AUTHOR_WITH_UNDERSCORE; | ||
export const FACEBOOK_APP_ID = '2453282784920956'; | ||
|
||
const FAVICON_URL = 'https://blog-assets.kubosho.com/icon.png'; | ||
const OG_IMAGE_URL = 'https://blog-assets.kubosho.com/og_image.png'; | ||
|
||
export { | ||
BASE_LANGUAGE, | ||
AUTHOR, | ||
AUTHOR_WITH_UNDERSCORE, | ||
SITE_HOSTNAME, | ||
SITE_URL, | ||
LOCAL_SITE_HOSTNAME, | ||
LOCAL_SITE_URL, | ||
TWITTER_ACCOUNT_ID, | ||
FACEBOOK_APP_ID, | ||
FAVICON_URL, | ||
OG_IMAGE_URL, | ||
}; | ||
export const FAVICON_URL = 'https://blog-assets.kubosho.com/icon.png'; | ||
export const OG_IMAGE_URL = 'https://blog-assets.kubosho.com/og_image.png'; |