diff options
author | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2017-04-08 14:27:04 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2017-04-08 14:27:04 -0700 |
commit | 8a509204473e2922e60c806e65e7829d0e2d2cde (patch) | |
tree | e15e55902a321231b117452ff21283cb0a95aa32 /www | |
parent | 2fc88595289f1ca04887dc9ddfe9f6093876bf62 (diff) | |
download | librebootfr-8a509204473e2922e60c806e65e7829d0e2d2cde.tar.gz librebootfr-8a509204473e2922e60c806e65e7829d0e2d2cde.zip |
Further adapt RSS
Diffstat (limited to 'www')
-rwxr-xr-x | www/index.sh | 14 | ||||
-rw-r--r-- | www/news/index.md | 14 |
2 files changed, 7 insertions, 21 deletions
diff --git a/www/index.sh b/www/index.sh index e188edfe..c1eeb600 100755 --- a/www/index.sh +++ b/www/index.sh @@ -24,7 +24,7 @@ title() { } meta() { - URL=$(echo ${f%.md}.html | sed -e s-blog/--) + URL=$(echo ${f%.md}.html | sed -e s-news/--) echo "[$(title)]($URL){.title}" echo "[$(sed -n 3p $f | sed -e s-^..--)]{.date}" @@ -37,14 +37,14 @@ meta() { # generate the index file -FILES=$(ls -1 -t blog/*.md | sed -e s-.*index.md-- -e s-.*presentation.md--) +FILES=$(ls -1 -t news/*.md | sed -e s-.*index.md-- -e s-.*presentation.md--) -cat blog-list.md > blog/index.md +cat news-list.md > news/index.md for f in $FILES do touch -d "$(sed -n 3p $f | sed -e 's/^..//g')" $f - meta >> blog/index.md + meta >> news/index.md done # generate an RSS index @@ -54,7 +54,7 @@ rss() { echo '<channel>' echo "<title>$BLOGTITLE</title>" - echo "<link>"$BLOGBASE"blog/</link>" + echo "<link>"$BLOGBASE"news/</link>" echo "<description>$BLOGDESCRIPTION</description>" for f in $FILES @@ -74,5 +74,5 @@ rss() { echo '</rss>' } -rss > blog/feed.xml -cp blog/feed.xml feed.xml +rss > news/feed.xml +cp news/feed.xml feed.xml diff --git a/www/news/index.md b/www/news/index.md deleted file mode 100644 index 6d12ce7d..00000000 --- a/www/news/index.md +++ /dev/null @@ -1,14 +0,0 @@ -% News announcements from the Libreboot project - -Updates to libreboot, both technical and organisational, will be written about -here over time. - -------------------------------------------------------------------------------- - -[Open Letter to the Free Software Community](unity.html){.title} -[2 Apr 2017]{.date} - -To the free software community: - -Over the past six months, the Libreboot project has been in a state of discord... - |