all repos — site @ d8ff3479f9a27a88c7456ef35eed634c2e374cfb

source for my site, found at icyphox.sh

Don't duplicate txt files

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

d8ff3479f9a27a88c7456ef35eed634c2e374cfb

parent

67838ca10f96b3696ab7f6dcb5b7a2988b7659ed

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

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

@@ -16,5 +16,3 @@ pandoc --quiet -s -f "markdown+gutenberg" \

"$p" -o "pages/txt/${base%.*}.txt" } done - -cp pages/txt/*.txt build/blog/
M templates/text.htmltemplates/text.html

@@ -30,7 +30,7 @@ </header>

<body> <div class="content"> <div style="float: right"> - view in <a href="/blog/{{ url }}.txt">plain-text</a> + view in <a href="/txt/{{ url }}.txt">plain-text</a> </div> <div style="float: left"> {{ date }}