Compare commits
No commits in common. "b05c7f1920f9bb7696be346988b9121e789b5b76" and "a5dd6df73997a7e00cf164518b816e1390cd5294" have entirely different histories.
b05c7f1920
...
a5dd6df739
3 changed files with 2 additions and 19 deletions
|
@ -14,9 +14,8 @@ export const siteConfig = {
|
||||||
// footer
|
// footer
|
||||||
// yes you can write html safely here
|
// yes you can write html safely here
|
||||||
customFooter: '<i>I have no mouth, and I must SCREAM</i>',
|
customFooter: '<i>I have no mouth, and I must SCREAM</i>',
|
||||||
// comments
|
|
||||||
comments: {
|
comments: {
|
||||||
type: 'artalk', // 'artalk','giscus','fediverse','hatsu'
|
type: 'fediverse', // 'artalk','giscus','fediverse','hatsu'
|
||||||
artalk: {
|
artalk: {
|
||||||
instanceDomain: '', // the domain of your artalk instance
|
instanceDomain: '', // the domain of your artalk instance
|
||||||
},
|
},
|
||||||
|
@ -59,12 +58,5 @@ export const siteConfig = {
|
||||||
// use hatsu.cli.rs to get replies from the fediverse
|
// use hatsu.cli.rs to get replies from the fediverse
|
||||||
instanceDomain: '',
|
instanceDomain: '',
|
||||||
}
|
}
|
||||||
},
|
|
||||||
// neko
|
|
||||||
// by enabling this, you can add a neko that follows cursor to your site
|
|
||||||
// this will load script from webneko.net
|
|
||||||
neko: {
|
|
||||||
enabled: false,
|
|
||||||
type: 'mike' // more available, for a full list, check https://webneko.net/
|
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -18,7 +18,6 @@ const formattedPath = defaultTitle.toLowerCase().replace(/\s+/g, '-');
|
||||||
|
|
||||||
const navBarItems = siteConfig.navBarItems
|
const navBarItems = siteConfig.navBarItems
|
||||||
const customFooter = siteConfig.customFooter
|
const customFooter = siteConfig.customFooter
|
||||||
const nekoType = siteConfig.neko?.type
|
|
||||||
|
|
||||||
const { title, path = formattedPath, description = siteConfig.description, ogImage = "" } = Astro.props;
|
const { title, path = formattedPath, description = siteConfig.description, ogImage = "" } = Astro.props;
|
||||||
// TODO: make the path dynamic
|
// TODO: make the path dynamic
|
||||||
|
@ -65,13 +64,5 @@ const { title, path = formattedPath, description = siteConfig.description, ogIma
|
||||||
<p>Powered by <a href="https://git.gb0.dev/gb/mercury"><img src="/mercury.svg" width="16px" alt="mercury logo" /> mercury</a></p>
|
<p>Powered by <a href="https://git.gb0.dev/gb/mercury"><img src="/mercury.svg" width="16px" alt="mercury logo" /> mercury</a></p>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
{ siteConfig.neko.enabled &&
|
|
||||||
<>
|
|
||||||
<script is:inline define:vars={{ nekoType }}>
|
|
||||||
window.NekoType = nekoType;
|
|
||||||
</script>
|
|
||||||
<script is:inline src="https://webneko.net/n20171213.js"></script>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
|
@ -6,7 +6,7 @@
|
||||||
--text-color: #d8dee9;
|
--text-color: #d8dee9;
|
||||||
--accent-color: #81a1c1;
|
--accent-color: #81a1c1;
|
||||||
--border-color: #3b4351;
|
--border-color: #3b4351;
|
||||||
--header-color: #eceff4;
|
--header-color: #2e3440;
|
||||||
--terminal-green: #a3be8c;
|
--terminal-green: #a3be8c;
|
||||||
--terminal-yellow: #ebcb8b;
|
--terminal-yellow: #ebcb8b;
|
||||||
--terminal-red: #bf616a;
|
--terminal-red: #bf616a;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue