-
Notifications
You must be signed in to change notification settings - Fork 6
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 #33 from kkga/code-highlight
code highlight
- Loading branch information
Showing
14 changed files
with
555 additions
and
107 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 |
---|---|---|
|
@@ -2,12 +2,8 @@ | |
"title": "Ter", | ||
"description": "A tiny wiki-style site builder with Zettelkasten flavor", | ||
"url": "https://ter.kkga.me/", | ||
"author_name": "Gadzhi Kharkharov", | ||
"author_email": "[email protected]", | ||
"author_url": "https://kkga.me/", | ||
"nav_links": { | ||
"Usage": "/usage", | ||
"Source": "https://github.com/kkga/ter" | ||
}, | ||
"authorName": "Gadzhi Kharkharov", | ||
"authorEmail": "[email protected]", | ||
"authorUrl": "https://kkga.me/", | ||
"head": "<script data-host='https://microanalytics.io' data-dnt='false' src='https://microanalytics.io/js/script.js' id='ZwSg9rf6GA' async defer></script>" | ||
} |
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
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 |
---|---|---|
|
@@ -6,9 +6,10 @@ const defaultUserConfig: UserConfig = { | |
description: "I am writing about my experiences as a naval navel-gazer", | ||
url: "https://example.com/", | ||
rootCrumb: "index", | ||
author_name: "Your Name Here", | ||
author_email: "[email protected]", | ||
author_url: "https://example.com/about-me/", | ||
authorName: "Your Name Here", | ||
authorEmail: "[email protected]", | ||
authorUrl: "https://example.com/about-me/", | ||
codeHighlight: false, | ||
lang: "en", | ||
}; | ||
|
||
|
@@ -76,11 +77,11 @@ export async function createConfig( | |
conf.renderDrafts = opts.renderDrafts; | ||
|
||
await checkUserConfig(conf.userConfigPath) | ||
.catch(async () => { | ||
.catch(() => { | ||
console.warn( | ||
`Config file missing, initializing default config at ${conf.userConfigPath}`, | ||
); | ||
await initUserConfig(conf.userConfig, conf.userConfigPath); | ||
initUserConfig(conf.userConfig, conf.userConfigPath); | ||
}); | ||
|
||
try { | ||
|
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
Oops, something went wrong.
49f8e23
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ter – ./
deno-ter.vercel.app
ter-kkga.vercel.app
ter-git-master-kkga.vercel.app
ter.kkga.me