Wowie what a gay little website for my gay little self aria.coffee
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add auto linking to current git commit

Aria 599a07e6 ed2eafd6

+15 -5
+1
.env.example
··· 1 + PUBLIC_REPOURL=https://github.com/BuyMyMojo/aria.coffee/
+6
README.md
··· 1 1 # Wowie what a gay little website for my gay little self 2 2 3 + ## Setup 4 + 5 + You must create a `.env` file with the contents of `.env.example` and set the URL of your repo for the commit footer. 6 + 7 + Example URL: `https://github.com/BuyMyMojo/aria.coffee/` - Notice the trailing `/`, this is required 8 + 3 9 ## Deploy steps (Pre-rendered website) 4 10 5 11 On dev machine:
+8 -5
src/components/Footer.astro
··· 2 2 const buttonFormat = "gif"; 3 3 4 4 import { Icon } from "astro-icon/components"; 5 + import { execSync } from "node:child_process"; 6 + 7 + const commitURL = `${import.meta.env.PUBLIC_REPOURL}commit/${execSync(`git log -1 --pretty="format:%H"`)}`; 5 8 --- 6 9 7 10 <hr class="h-1" style="" /> 8 11 <footer class="flexcol"> 9 12 <div class="flexrow"> 10 13 <p> 11 - <a href="https://github.com/BuyMyMojo/aria.coffee" target="_blank" 12 - ><Icon name="mdi:source-branch" class={"svg-inline"}/> Source Code</a 13 - > | <a href="https://aria.coffee/rss.xml" target="_blank" 14 - ><Icon name="mdi:rss" class={"svg-inline"}/> RSS Feed</a 15 - > 14 + | <a href="https://github.com/BuyMyMojo/aria.coffee" target="_blank" 15 + > <Icon name="mdi:source-branch" class={"svg-inline"}/>Source Code</a 16 + > - Commit:<a href={commitURL}>{execSync(`git log -1 --pretty="format:%h"`)}</a> | <a href="https://aria.coffee/rss.xml" target="_blank" 17 + > <Icon name="mdi:rss" class={"svg-inline"}/>RSS Feed</a 18 + > | 16 19 </p> 17 20 </div> 18 21 <div class="flex">