-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c261a93
commit a3ee3e8
Showing
8 changed files
with
76 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
import Navigation from "./Navigation.astro" | ||
--- | ||
<header class="text-center"> | ||
<nav> | ||
<Navigation /> | ||
</nav> | ||
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<a href="/">Home</a> | | ||
<a href="/blog/">Blog</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
import Layout from "../layouts/Layout.astro" | ||
const allPosts = await Astro.glob("../pages/posts/*.md") | ||
const pageTitle = "bitbloxhub's blog" | ||
--- | ||
<Layout title={pageTitle}> | ||
<main class="m-auto p-6 max-w-6xl text-left"> | ||
<h1>bitbloxhub's blog!</p> | ||
<ul class="text-base"> | ||
{allPosts.map((post) => <li ><a href={post.url}>{post.frontmatter.title}</a></li>)} | ||
</ul> | ||
</main> | ||
</Layout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import rss, { pagesGlobToRssItems } from "@astrojs/rss" | ||
|
||
export async function get() { | ||
return rss({ | ||
title: "bitbloxhub's blog", | ||
description: "a blog i might write stuff on", | ||
site: "https://bitbloxhub.github.io", | ||
items: await pagesGlobToRssItems(import.meta.glob("./**/*.md")), | ||
customData: `<language>en-us</language>` | ||
}) | ||
} |