mirror of
https://github.com/valentineus/popov.link.git
synced 2025-07-19 22:58:48 +03:00
Compare commits
2 Commits
34ce9f6162
...
26de615385
Author | SHA1 | Date | |
---|---|---|---|
26de615385
|
|||
77e65cb92c |
@@ -1,6 +1,6 @@
|
||||
# popov.link
|
||||
|
||||
[](https://github.com/valentineus/popov.link/actions/workflows/ci.yml)
|
||||
[](https://512kb.club)
|
||||
|
||||
Personal website source code built with [Astro](https://astro.build/).
|
||||
|
||||
|
@@ -1,17 +1,2 @@
|
||||
---
|
||||
type Props = {
|
||||
readonly title: string;
|
||||
};
|
||||
|
||||
const path = Astro.url.pathname;
|
||||
const { title } = Astro.props;
|
||||
---
|
||||
|
||||
<!-- AppMetrix -->
|
||||
<script is:inline src="https://appmetrix.com/pixel/T5X0z12SoASBV8Dv"></script>
|
||||
|
||||
<!-- GoatCounter -->
|
||||
<script is:inline data-goatcounter="https://analytics.popov.link/count" src="//gc.zgo.at/count.js"></script>
|
||||
<noscript>
|
||||
<img alt="pixel" src={`https://analytics.popov.link/count?p=${encodeURI(path)}&t=${encodeURI(title)}`} />
|
||||
</noscript>
|
||||
|
@@ -14,8 +14,8 @@ const { description, title } = Astro.props;
|
||||
|
||||
<html lang="ru">
|
||||
<Head
|
||||
description={description ?? import.meta.env.DEFAULT_DESCRIPTION}
|
||||
title={title ?? import.meta.env.DEFAULT_TITLE}
|
||||
description={description ?? import.meta.env.DEFAULT_DESCRIPTION}
|
||||
/>
|
||||
|
||||
<body>
|
||||
@@ -26,6 +26,6 @@ const { description, title } = Astro.props;
|
||||
|
||||
<slot />
|
||||
</main>
|
||||
<Analytics title={title ?? import.meta.env.DEFAULT_TITLE} />
|
||||
<Analytics />
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user