initial changes
This commit is contained in:
parent
32ec711767
commit
b85951897c
7 changed files with 50 additions and 30 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -9,3 +9,6 @@ tsconfig.tsbuildinfo
|
||||||
private/
|
private/
|
||||||
.replit
|
.replit
|
||||||
replit.nix
|
replit.nix
|
||||||
|
/References.bib
|
||||||
|
content
|
||||||
|
/static/
|
||||||
|
|
|
@ -6,23 +6,27 @@ import * as Plugin from "./quartz/plugins"
|
||||||
*
|
*
|
||||||
* See https://quartz.jzhao.xyz/configuration for more information.
|
* See https://quartz.jzhao.xyz/configuration for more information.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const config: QuartzConfig = {
|
const config: QuartzConfig = {
|
||||||
configuration: {
|
configuration: {
|
||||||
pageTitle: "🪴 Quartz 4.0",
|
pageTitle: "˖°𓇼🌊⋆🐚🫧 My Thought Ocean",
|
||||||
pageTitleSuffix: "",
|
pageTitleSuffix: "",
|
||||||
enableSPA: true,
|
enableSPA: false,
|
||||||
enablePopovers: true,
|
enablePopovers: true,
|
||||||
analytics: {
|
analytics: null,
|
||||||
provider: "plausible",
|
|
||||||
},
|
|
||||||
locale: "en-US",
|
locale: "en-US",
|
||||||
baseUrl: "quartz.jzhao.xyz",
|
baseUrl: "cosmicflow.space/exocortex/",
|
||||||
ignorePatterns: ["private", "templates", ".obsidian"],
|
ignorePatterns: ["private", "templates", ".obsidian"],
|
||||||
defaultDateType: "created",
|
defaultDateType: "created",
|
||||||
generateSocialImages: false,
|
generateSocialImages: {
|
||||||
|
colorScheme: "darkMode", // what colors to use for generating image, same as theme colors from config, valid values are "darkMode" and "lightMode"
|
||||||
|
width: 1200, // width to generate with (in pixels)
|
||||||
|
height: 630, // height to generate with (in pixels)
|
||||||
|
excludeRoot: false, // wether to exclude "/" index path to be excluded from auto generated images (false = use auto, true = use default og image)
|
||||||
|
},
|
||||||
theme: {
|
theme: {
|
||||||
fontOrigin: "googleFonts",
|
fontOrigin: "googleFonts",
|
||||||
cdnCaching: true,
|
cdnCaching: false,
|
||||||
typography: {
|
typography: {
|
||||||
header: "Schibsted Grotesk",
|
header: "Schibsted Grotesk",
|
||||||
body: "Source Sans Pro",
|
body: "Source Sans Pro",
|
||||||
|
@ -30,18 +34,26 @@ const config: QuartzConfig = {
|
||||||
},
|
},
|
||||||
colors: {
|
colors: {
|
||||||
lightMode: {
|
lightMode: {
|
||||||
light: "#faf8f8",
|
// light: "#faf8f8",
|
||||||
|
light: "#304555",
|
||||||
lightgray: "#e5e5e5",
|
lightgray: "#e5e5e5",
|
||||||
gray: "#b8b8b8",
|
gray: "#b8b8b8",
|
||||||
darkgray: "#4e4e4e",
|
// darkgray: "#4e4e4e",
|
||||||
dark: "#2b2b2b",
|
dark: "#2b2b2b",
|
||||||
secondary: "#284b63",
|
//secondary: "#284b63",
|
||||||
|
// tertiary: "#84a59d",
|
||||||
|
// highlight: "rgba(143, 159, 169, 0.15)",
|
||||||
|
// textHighlight: "#fff23688",
|
||||||
|
darkgray: "#d4d4d4",
|
||||||
|
// dark: "#ebebec",
|
||||||
|
secondary: "#7b97aa",
|
||||||
tertiary: "#84a59d",
|
tertiary: "#84a59d",
|
||||||
highlight: "rgba(143, 159, 169, 0.15)",
|
highlight: "rgba(169, 109, 60, 0.15)",
|
||||||
textHighlight: "#fff23688",
|
textHighlight: "#b3aa0288",
|
||||||
},
|
},
|
||||||
darkMode: {
|
darkMode: {
|
||||||
light: "#161618",
|
// light: "#161618",
|
||||||
|
light: "#203545",
|
||||||
lightgray: "#393639",
|
lightgray: "#393639",
|
||||||
gray: "#646464",
|
gray: "#646464",
|
||||||
darkgray: "#d4d4d4",
|
darkgray: "#d4d4d4",
|
||||||
|
@ -57,22 +69,23 @@ const config: QuartzConfig = {
|
||||||
plugins: {
|
plugins: {
|
||||||
transformers: [
|
transformers: [
|
||||||
Plugin.FrontMatter(),
|
Plugin.FrontMatter(),
|
||||||
Plugin.CreatedModifiedDate({
|
|
||||||
priority: ["frontmatter", "filesystem"],
|
|
||||||
}),
|
|
||||||
Plugin.SyntaxHighlighting({
|
Plugin.SyntaxHighlighting({
|
||||||
theme: {
|
theme: {
|
||||||
light: "github-light",
|
|
||||||
dark: "github-dark",
|
dark: "github-dark",
|
||||||
|
// light: "github-light",
|
||||||
|
light: "ayu-dark",
|
||||||
},
|
},
|
||||||
keepBackground: false,
|
keepBackground: true,
|
||||||
}),
|
}),
|
||||||
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
|
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
|
||||||
Plugin.GitHubFlavoredMarkdown(),
|
Plugin.GitHubFlavoredMarkdown(),
|
||||||
|
Plugin.OxHugoFlavouredMarkdown(),
|
||||||
Plugin.TableOfContents(),
|
Plugin.TableOfContents(),
|
||||||
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
|
Plugin.Citations({
|
||||||
|
bibliographyFile: "./References.bib"}),
|
||||||
|
Plugin.CrawlLinks({ markdownLinkResolution: "absolute"}),
|
||||||
Plugin.Description(),
|
Plugin.Description(),
|
||||||
Plugin.Latex({ renderEngine: "katex" }),
|
// Plugin.Latex({ renderEngine: "katex" }),
|
||||||
],
|
],
|
||||||
filters: [Plugin.RemoveDrafts()],
|
filters: [Plugin.RemoveDrafts()],
|
||||||
emitters: [
|
emitters: [
|
||||||
|
|
|
@ -8,8 +8,8 @@ export const sharedPageComponents: SharedLayout = {
|
||||||
afterBody: [],
|
afterBody: [],
|
||||||
footer: Component.Footer({
|
footer: Component.Footer({
|
||||||
links: {
|
links: {
|
||||||
GitHub: "https://github.com/jackyzha0/quartz",
|
Home: "https://cosmicflow.space",
|
||||||
"Discord Community": "https://discord.gg/cRFFHYye7t",
|
"Git": "https://cosmicflow.space:3030",
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@ export const defaultContentPageLayout: PageLayout = {
|
||||||
Component.PageTitle(),
|
Component.PageTitle(),
|
||||||
Component.MobileOnly(Component.Spacer()),
|
Component.MobileOnly(Component.Spacer()),
|
||||||
Component.Search(),
|
Component.Search(),
|
||||||
Component.Darkmode(),
|
// Component.Darkmode(),
|
||||||
Component.Explorer(),
|
Component.Explorer(),
|
||||||
],
|
],
|
||||||
right: [
|
right: [
|
||||||
|
@ -43,7 +43,7 @@ export const defaultListPageLayout: PageLayout = {
|
||||||
Component.PageTitle(),
|
Component.PageTitle(),
|
||||||
Component.MobileOnly(Component.Spacer()),
|
Component.MobileOnly(Component.Spacer()),
|
||||||
Component.Search(),
|
Component.Search(),
|
||||||
Component.Darkmode(),
|
// Component.Darkmode(),
|
||||||
Component.Explorer(),
|
Component.Explorer(),
|
||||||
],
|
],
|
||||||
right: [],
|
right: [],
|
||||||
|
|
|
@ -13,17 +13,20 @@ export default ((opts?: Options) => {
|
||||||
const links = opts?.links ?? []
|
const links = opts?.links ?? []
|
||||||
return (
|
return (
|
||||||
<footer class={`${displayClass ?? ""}`}>
|
<footer class={`${displayClass ?? ""}`}>
|
||||||
<p>
|
<ul>
|
||||||
{i18n(cfg.locale).components.footer.createdWith}{" "}
|
|
||||||
<a href="https://quartz.jzhao.xyz/">Quartz v{version}</a> © {year}
|
|
||||||
</p>
|
|
||||||
<ul>
|
|
||||||
{Object.entries(links).map(([text, link]) => (
|
{Object.entries(links).map(([text, link]) => (
|
||||||
<li>
|
<li>
|
||||||
<a href={link}>{text}</a>
|
<a href={link}>{text}</a>
|
||||||
</li>
|
</li>
|
||||||
))}
|
))}
|
||||||
</ul>
|
</ul>
|
||||||
|
<p>
|
||||||
|
<a href="https://quartz.jzhao.xyz/">Created with Quartz v{version}</a> © {year} <img src="static/quartz-icon.png" alt="" width="25" height="25" style='vertical-align:middle; display:inline;'></img>
|
||||||
|
<br></br>
|
||||||
|
<a href="https://orgmode.org/">Exported with pleasure 💎 using Org Mode <img src="static/org-mode-unicorn.svg" alt="" width="25" height="25" style='vertical-align:middle; display:inline;'></img></a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
|
||||||
</footer>
|
</footer>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
1
quartz/static/org-mode-unicorn.svg
Normal file
1
quartz/static/org-mode-unicorn.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Loading…
Add table
Reference in a new issue