config garden and content submodule

main
Dozens B. McCuzzins 2022-01-24 18:17:15 -07:00
parent 7ab4f235cf
commit 4bb0c119fc
5 changed files with 14 additions and 11 deletions

3
.gitmodules vendored 100644
View File

@ -0,0 +1,3 @@
[submodule "src"]
path = src
url = tilde:~/g/weed.git

View File

@ -1,6 +1,6 @@
<item>
<title>$if(title)$$title$$else$Title Unknown$endif$</title>
<author>TODO: FIXME</author>
<author>dozens sin leche</author>
<guid isPermaLink="false">$if(created_at)$$created_at$$else$Unknown Date$endif$</guid>
<pubDate>$if(created_at)$$created_at$$else$Unknown Date$endif$</pubDate>
<description>

View File

@ -1,15 +1,19 @@
# vars
feed_title := "confessions of a gardener"
feed_desc := "all about my dirty life and times"
feed_href := "https://example.com/weed/feed.xml"
feed_title := "dozens weed"
feed_desc := "my special little weed in my special little garden"
feed_href := "https://tilde.town/~dozens/rsspect/feed.xml"
outfile := "feed.xml"
# show all available commands
default:
just --list
# update content submodule
fetch:
git submodule foreach git pull
# build feed.xml
build:
build: fetch
#!/bin/sh
echo "Building xml file!!"
echo "<?xml version=\"1.0\" ?>" > {{outfile}}
@ -29,7 +33,7 @@ build:
# upload feed.xml
up:
@echo "Uploading to server!!"
#@rsync -azP feed.xml server:www/weed/
@rsync -azP feed.xml tilde:public_html/rsspect/
@echo "Done uploading to server \o/"
# build and upload

1
src 160000

@ -0,0 +1 @@
Subproject commit 7eba735bf155fd920813c432c1069e95ded958a1

View File

@ -1,5 +0,0 @@
---
title: 'the beginning of our adventure together'
created_at: 'Mon, 24 Jan 2022 17:34:36 -0700'
---
So the other day I was riding my bike, and....