Skip to content

Commit 2dc8e0b

Browse files
committed
Fix recent features & Add markdown and PDF support
1 parent cee3f28 commit 2dc8e0b

File tree

9 files changed

+2239
-1147
lines changed

9 files changed

+2239
-1147
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,16 @@ jobs:
2020
steps:
2121
- name: Checkout your repository using git
2222
uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
2325
- name: Install, build, and upload your site
2426
uses: withastro/action@v3
2527
with:
2628
path: . # The root location of your Astro project inside the repository. (optional)
2729
node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
2830
package-manager: npm # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2933

3034
deploy:
3135
needs: build

astro.config.mjs

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,31 @@ export default defineConfig({
3131
// hi: { label: "Hindi", lang: "hi" },
3232
// },
3333
// defaultLocale: "root",
34-
social: {
35-
github: "https://github.com/AerynOS/dotdev",
36-
zulip: "https://aerynos.zulipchat.com/join/fuqokhsomj5mzqj6akqaiqlr/",
37-
mastodon: "https://hachyderm.io/@AerynOS",
38-
},
34+
social: [
35+
{
36+
icon: "github",
37+
label: "GitHub",
38+
href: "https://github.com/AerynOS/dotdev",
39+
},
40+
{
41+
icon: "zulip",
42+
label: "Zulip",
43+
href: "https://aerynos.zulipchat.com/join/fuqokhsomj5mzqj6akqaiqlr/",
44+
},
45+
{
46+
icon: "mastodon",
47+
label: "Mastodon",
48+
href: "https://hachyderm.io/@AerynOS",
49+
},
50+
],
3951
customCss: ["@/styles/global.css"],
4052
editLink: {
4153
baseUrl: "https://github.com/AerynOS/dotdev/edit/main/",
4254
},
55+
lastUpdated: true,
56+
components: {
57+
LastUpdated: "./src/components/LastUpdated.astro",
58+
},
4359
plugins: [
4460
starlightLinksValidator(),
4561
starlightScrollToTop({

0 commit comments

Comments
 (0)