summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKatherine Peeters <katherine.peeters@leagueh.xyz>2021-03-12 21:17:00 -0500
committerKatherine Peeters <katherine.peeters@leagueh.xyz>2021-03-12 21:17:00 -0500
commit6a672dd308f3fe4b7a494d86cede0ba126e58e77 (patch)
tree2bfa2e22b6b99be7435e57f1a90016828bae34cf /Makefile
parentcd6c94457e8c1482c1ea54b6e063c588cec0fdd1 (diff)
downloadloh-website-6a672dd308f3fe4b7a494d86cede0ba126e58e77.tar.gz
Moved CSS to an external stylesheet
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6d73d7b..371d668 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-MARKDOWN=$(shell find -L . -type f -name "*.md" -print)
+MARKDOWN=$(shell find -L site -type f -name "*.md" -print)
HTML=$(MARKDOWN:%.md=%.html)
RSS=$(shell find -L . -type d -name "*.rss" -print)
RSS_XML=$(RSS:%.rss=%.xml)
@@ -8,11 +8,11 @@ RSS_XML=$(RSS:%.rss=%.xml)
all: $(HTML) $(RSS_XML)
-%.html: %.md header.html footer.html lsand.html
+%.html: %.md header.html footer.html
cp header.html $@
markdown -f fencedcode $< | sed -e 's/\.md/\.html/g ; /^<h2>.*/i </div><div class="content">' >> $@
echo "</div>" >> $@
- cat lsand.html >> $@
+ echo "<br>" >> $@
lsand -H | tail -n +2 >> $@
cat footer.html >> $@