all repos — site @ b5a099e35af24015c38f256c33a4e7b6a91fa6a0

source for my site, found at icyphox.sh

bin/plaintext.sh: Add 301 redirect

Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
Anirudh Oppiliappan x@icyphox.sh
Wed, 19 Feb 2020 19:27:02 +0530
commit

b5a099e35af24015c38f256c33a4e7b6a91fa6a0

parent

c12a14ad24a4bf246f62c359176878a9908b7dd5

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M bin/plaintext.shbin/plaintext.sh

@@ -15,7 +15,7 @@ no_ext="${base%.*}"

[ "$base" != "_index.md" ] && { pandoc --quiet -s -f "markdown+gutenberg" \ "$p" -o "pages/txt/$no_ext.txt" - printf '%s\n' "/txt/$no_ext.txt /txt/$no_ext" >> _redirects + printf '%s\n' "/txt/$no_ext.txt /txt/$no_ext 301" >> _redirects } done