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 {siteConfig} from "../config";
|
||||
// Conditionally import content if file exists
|
||||
let HomePageContent;
|
||||
try {
|
||||
|
@ -20,4 +21,14 @@ try {
|
|||
<p>If you are site owner, please create <code>src/content/index.md</code> to customize this page.</p>
|
||||
}
|
||||
</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