remove gists as viewable
This commit is contained in:
parent
90220ae6f3
commit
1d2f556b32
2 changed files with 0 additions and 34 deletions
|
|
@ -7,7 +7,6 @@
|
|||
<a href="/about.html" data-topic="about">about</a>
|
||||
</div>
|
||||
<div class="footer-links-right">
|
||||
<a href="/gist.html" data-topic="gist">gist</a>
|
||||
<a href="/git.html" data-topic="git">git</a>
|
||||
<a
|
||||
href="https://www.linkedin.com/in/barrett-ruth/"
|
||||
|
|
|
|||
|
|
@ -1,33 +0,0 @@
|
|||
---
|
||||
import BaseLayout from "../layouts/BaseLayout.astro";
|
||||
import { getCollection } from "astro:content";
|
||||
import { sortItem } from "../utils/sort.js";
|
||||
|
||||
const title = "gists";
|
||||
const gists = await getCollection("gists");
|
||||
gists.sort(sortItem);
|
||||
---
|
||||
|
||||
<BaseLayout title={title}>
|
||||
<slot name="head" slot="head">
|
||||
<link rel="stylesheet" href="/styles/index.css" />
|
||||
<script src="/scripts/index.js" is:inline></script>
|
||||
</slot>
|
||||
|
||||
<div class="content">
|
||||
<ul class="topics">
|
||||
{
|
||||
gists.map((gist) => (
|
||||
<li class="topic">
|
||||
<a
|
||||
href={`/gist/${gist.slug}.html`}
|
||||
data-topic={`gist/${gist.slug}`}
|
||||
>
|
||||
{gist.data.title || gist.slug}
|
||||
</a>
|
||||
</li>
|
||||
))
|
||||
}
|
||||
</ul>
|
||||
</div>
|
||||
</BaseLayout>
|
||||
Loading…
Add table
Add a link
Reference in a new issue