clear all astro hints
This commit is contained in:
parent
3dd4586e37
commit
c07fc2070f
10 changed files with 15 additions and 23 deletions
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
const today = new Date();
|
|
||||||
---
|
---
|
||||||
<br>
|
<br>
|
||||||
<footer class="footer" >
|
<footer class="footer" >
|
||||||
|
@ -82,7 +81,7 @@ const today = new Date();
|
||||||
<br><!-- Memes -->
|
<br><!-- Memes -->
|
||||||
<a href="https://www.noaa.gov/"><img src="/assets/images/badges/noaa.gif" alt="NOAA" loading="lazy"/></a>
|
<a href="https://www.noaa.gov/"><img src="/assets/images/badges/noaa.gif" alt="NOAA" loading="lazy"/></a>
|
||||||
<a href="https://www.java.com/"><img src="/assets/images/badges/get_java.gif" alt="Get Java Now" loading="lazy"/></a>
|
<a href="https://www.java.com/"><img src="/assets/images/badges/get_java.gif" alt="Get Java Now" loading="lazy"/></a>
|
||||||
<iframe src="//incr.easrng.net/badge?key=nelle" style="background: url(//incr.easrng.net/bg.gif)" title="increment badge" width="88" height="31" frameborder="0" loading="lazy"></iframe>
|
<iframe src="//incr.easrng.net/badge?key=nelle" style="background: url(//incr.easrng.net/bg.gif); border: 0;" title="increment badge" width="88" height="31" loading="lazy"></iframe>
|
||||||
<img src="/assets/images/badges/win7startup.gif" alt="Windows 7 Startup" loading="lazy"></img>
|
<img src="/assets/images/badges/win7startup.gif" alt="Windows 7 Startup" loading="lazy"></img>
|
||||||
<a href="https://archlinux.org/"><img src="/assets/images/badges/archlinux.gif" alt="Archlinux badge" loading="lazy"/></a>
|
<a href="https://archlinux.org/"><img src="/assets/images/badges/archlinux.gif" alt="Archlinux badge" loading="lazy"/></a>
|
||||||
<img src="/assets/images/badges/youtube-dl.gif" alt="youtube-dl badge" loading="lazy">
|
<img src="/assets/images/badges/youtube-dl.gif" alt="youtube-dl badge" loading="lazy">
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
---
|
---
|
||||||
import { SITE_TITLE, SITE_DESCRIPTION } from "../consts";
|
import { SITE_DESCRIPTION } from "../consts";
|
||||||
|
|
||||||
const page = Astro.url.pathname;
|
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
title: string;
|
title: string;
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
---
|
---
|
||||||
import { SITE_TITLE, SITE_DESCRIPTION } from "../consts";
|
|
||||||
|
|
||||||
const { title } = Astro.props;
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
---
|
---
|
||||||
import { SITE_TITLE, SITE_DESCRIPTION } from "../consts";
|
import { SITE_DESCRIPTION } from "../consts";
|
||||||
|
|
||||||
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
|
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
|
||||||
const page = Astro.url.pathname;
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<link rel="stylesheet" href="/styles/css/bsod.css" />
|
<link rel="stylesheet" href="/styles/css/bsod.css" />
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
---
|
---
|
||||||
import { SITE_TITLE, SITE_DESCRIPTION } from "../consts";
|
import { SITE_DESCRIPTION } from "../consts";
|
||||||
|
|
||||||
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
|
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
|
||||||
const page = Astro.url.pathname;
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<link rel="stylesheet" href="/styles/css/mobile-warn.css" />
|
<link rel="stylesheet" href="/styles/css/mobile-warn.css" />
|
||||||
|
|
|
@ -23,7 +23,7 @@ const { title } = Astro.props;
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<Footer />
|
<Footer />
|
||||||
<script type="text/javascript" src="/scripts/rain.js"></script>
|
<script src="/scripts/rain.js"></script>
|
||||||
<script type="text/javascript" src="/scripts/galactic-font.js"></script>
|
<script src="/scripts/galactic-font.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -22,11 +22,11 @@ const { title } = Astro.props;
|
||||||
</section>
|
</section>
|
||||||
<slot />
|
<slot />
|
||||||
<Footer />
|
<Footer />
|
||||||
<script type="text/javascript" src="/scripts/sga.js"></script>
|
<script src="/scripts/sga.js"></script>
|
||||||
<script type="text/javascript" src="/scripts/lastfm.js"></script>
|
<script src="/scripts/lastfm.js"></script>
|
||||||
<script type="text/javascript" src="/scripts/sound.js"></script>
|
<script src="/scripts/sound.js"></script>
|
||||||
<script type="text/javascript" src="/scripts/ntfy.js"></script>
|
<script src="/scripts/ntfy.js"></script>
|
||||||
<script type="text/javascript" src="/scripts/fuckchrome.js"></script>
|
<script src="/scripts/fuckchrome.js"></script>
|
||||||
<audio
|
<audio
|
||||||
id="clickSound"
|
id="clickSound"
|
||||||
src="/assets/sounds/ui/zapsplat_multimedia_button_click_004_68776.mp3">
|
src="/assets/sounds/ui/zapsplat_multimedia_button_click_004_68776.mp3">
|
||||||
|
|
|
@ -4,7 +4,7 @@ import BlogPost from "../../layouts/BlogPost.astro";
|
||||||
|
|
||||||
export async function getStaticPaths() {
|
export async function getStaticPaths() {
|
||||||
const posts = await getCollection("blog");
|
const posts = await getCollection("blog");
|
||||||
return posts.map((post) => ({
|
return posts.map((post: { slug: any; }) => ({
|
||||||
params: { slug: post.slug },
|
params: { slug: post.slug },
|
||||||
props: post,
|
props: post,
|
||||||
}));
|
}));
|
||||||
|
|
|
@ -3,7 +3,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||||
import { getCollection } from "astro:content";
|
import { getCollection } from "astro:content";
|
||||||
|
|
||||||
const posts = (await getCollection("blog")).sort(
|
const posts = (await getCollection("blog")).sort(
|
||||||
(a, b) => a.data.pubDate.valueOf() - b.data.pubDate.valueOf()
|
(a: { data: { pubDate: number; }; }, b: { data: { pubDate: number; }; }) => a.data.pubDate.valueOf() - b.data.pubDate.valueOf()
|
||||||
);
|
);
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ const posts = (await getCollection("blog")).sort(
|
||||||
<a href="/rss.xml"><h3 style="text-align: center;">RSS Feed</h3></a>
|
<a href="/rss.xml"><h3 style="text-align: center;">RSS Feed</h3></a>
|
||||||
<hr />
|
<hr />
|
||||||
{
|
{
|
||||||
posts.map((post) => (
|
posts.map((post: { slug: any; data: { title: unknown; }; }) => (
|
||||||
<>
|
<>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href={`/blog/${post.slug}/`}>{post.data.title}</a></li>
|
<li><a href={`/blog/${post.slug}/`}>{post.data.title}</a></li>
|
||||||
|
|
|
@ -56,7 +56,7 @@ import Layout from "../layouts/Layout.astro";
|
||||||
<br style="margin-bottom: 10px;">
|
<br style="margin-bottom: 10px;">
|
||||||
<textarea id="ntfy-input" placeholder="Hi nelle~!"></textarea><button
|
<textarea id="ntfy-input" placeholder="Hi nelle~!"></textarea><button
|
||||||
class="ntfy-send nob4 custom-btn btn-1"
|
class="ntfy-send nob4 custom-btn btn-1"
|
||||||
onclick="javascript:sendNotification()"
|
onclick="sendNotification()"
|
||||||
style="margin-left:10px;">Send</button
|
style="margin-left:10px;">Send</button
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue