feat: log theme info to console
This commit is contained in:
parent
be07b543aa
commit
8773b9b0df
1 changed files with 12 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
import Layout from '../layouts/Layout.astro';
|
import Layout from '../layouts/Layout.astro';
|
||||||
|
import {siteConfig} from "../config";
|
||||||
// Conditionally import content if file exists
|
// Conditionally import content if file exists
|
||||||
let HomePageContent;
|
let HomePageContent;
|
||||||
try {
|
try {
|
||||||
|
@ -21,3 +22,13 @@ try {
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
||||||
|
{!siteConfig.noClientJavaScript &&
|
||||||
|
<script>
|
||||||
|
console.log(`%c
|
||||||
|
_ ______________ ______ _
|
||||||
|
|\\/||___|__/| | ||__/ \\_/
|
||||||
|
| ||___| \\|___|__|| \\ |`, 'font-family: monospace; font-size: 1.2rem;','\n');
|
||||||
|
|
||||||
|
console.log('Powered by %castro.build','color: #fff;background: #d358c5;');
|
||||||
|
</script>}
|
Loading…
Add table
Add a link
Reference in a new issue