Compare commits
2 commits
5c661f792d
...
d1b064cb21
Author | SHA1 | Date | |
---|---|---|---|
Jan-Erik Rediger | d1b064cb21 | ||
Jan-Erik Rediger | 29ae9616dd |
1
Makefile
1
Makefile
|
@ -13,6 +13,7 @@ dev: serve rerun
|
|||
|
||||
build:
|
||||
cobalt build
|
||||
./ext/add-feed-stylesheet.sh _site/feed.xml
|
||||
.PHONY: build
|
||||
|
||||
serve:
|
||||
|
|
|
@ -14,7 +14,7 @@ posts:
|
|||
default: {}
|
||||
site:
|
||||
title: fnordig
|
||||
description: fnordig
|
||||
description: "A blog about Rust, data and my life."
|
||||
base_url: "https://fnordig.de"
|
||||
data: ~
|
||||
template_extensions:
|
||||
|
|
10
ext/add-feed-stylesheet.sh
Executable file
10
ext/add-feed-stylesheet.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
{
|
||||
echo '/<?xml'
|
||||
printf 's/>/>\\\n/\n'
|
||||
echo i
|
||||
echo '<?xml-stylesheet href="/feed-style.xsl" type="text/xsl"?>'
|
||||
echo .
|
||||
echo w
|
||||
} | ed "$*" >/dev/null
|
76
feed-style.xsl
Normal file
76
feed-style.xsl
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue