initial changes

This commit is contained in:
Dibyashanu Pati 2025-03-09 15:32:20 +05:30
parent 32ec711767
commit b85951897c
7 changed files with 50 additions and 30 deletions

3
.gitignore vendored
View file

@ -9,3 +9,6 @@ tsconfig.tsbuildinfo
private/
.replit
replit.nix
/References.bib
content
/static/

View file

View file

@ -6,23 +6,27 @@ import * as Plugin from "./quartz/plugins"
*
* See https://quartz.jzhao.xyz/configuration for more information.
*/
const config: QuartzConfig = {
configuration: {
pageTitle: "🪴 Quartz 4.0",
pageTitle: "˖°𓇼🌊⋆🐚🫧 My Thought Ocean",
pageTitleSuffix: "",
enableSPA: true,
enableSPA: false,
enablePopovers: true,
analytics: {
provider: "plausible",
},
analytics: null,
locale: "en-US",
baseUrl: "quartz.jzhao.xyz",
baseUrl: "cosmicflow.space/exocortex/",
ignorePatterns: ["private", "templates", ".obsidian"],
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: {
fontOrigin: "googleFonts",
cdnCaching: true,
cdnCaching: false,
typography: {
header: "Schibsted Grotesk",
body: "Source Sans Pro",
@ -30,18 +34,26 @@ const config: QuartzConfig = {
},
colors: {
lightMode: {
light: "#faf8f8",
// light: "#faf8f8",
light: "#304555",
lightgray: "#e5e5e5",
gray: "#b8b8b8",
darkgray: "#4e4e4e",
// darkgray: "#4e4e4e",
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",
highlight: "rgba(143, 159, 169, 0.15)",
textHighlight: "#fff23688",
highlight: "rgba(169, 109, 60, 0.15)",
textHighlight: "#b3aa0288",
},
darkMode: {
light: "#161618",
// light: "#161618",
light: "#203545",
lightgray: "#393639",
gray: "#646464",
darkgray: "#d4d4d4",
@ -57,22 +69,23 @@ const config: QuartzConfig = {
plugins: {
transformers: [
Plugin.FrontMatter(),
Plugin.CreatedModifiedDate({
priority: ["frontmatter", "filesystem"],
}),
Plugin.SyntaxHighlighting({
theme: {
light: "github-light",
dark: "github-dark",
// light: "github-light",
light: "ayu-dark",
},
keepBackground: false,
keepBackground: true,
}),
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
Plugin.GitHubFlavoredMarkdown(),
Plugin.OxHugoFlavouredMarkdown(),
Plugin.TableOfContents(),
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
Plugin.Citations({
bibliographyFile: "./References.bib"}),
Plugin.CrawlLinks({ markdownLinkResolution: "absolute"}),
Plugin.Description(),
Plugin.Latex({ renderEngine: "katex" }),
// Plugin.Latex({ renderEngine: "katex" }),
],
filters: [Plugin.RemoveDrafts()],
emitters: [

View file

@ -8,8 +8,8 @@ export const sharedPageComponents: SharedLayout = {
afterBody: [],
footer: Component.Footer({
links: {
GitHub: "https://github.com/jackyzha0/quartz",
"Discord Community": "https://discord.gg/cRFFHYye7t",
Home: "https://cosmicflow.space",
"Git": "https://cosmicflow.space:3030",
},
}),
}
@ -26,7 +26,7 @@ export const defaultContentPageLayout: PageLayout = {
Component.PageTitle(),
Component.MobileOnly(Component.Spacer()),
Component.Search(),
Component.Darkmode(),
// Component.Darkmode(),
Component.Explorer(),
],
right: [
@ -43,7 +43,7 @@ export const defaultListPageLayout: PageLayout = {
Component.PageTitle(),
Component.MobileOnly(Component.Spacer()),
Component.Search(),
Component.Darkmode(),
// Component.Darkmode(),
Component.Explorer(),
],
right: [],

View file

@ -13,10 +13,6 @@ export default ((opts?: Options) => {
const links = opts?.links ?? []
return (
<footer class={`${displayClass ?? ""}`}>
<p>
{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]) => (
<li>
@ -24,6 +20,13 @@ export default ((opts?: Options) => {
</li>
))}
</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>
)
}

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 7.8 KiB

View file

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB