Compare commits

...

2 Commits

Author SHA1 Message Date
BodgeMaster 61ec855929 index: mention chapter numbers and add a preliminary story name
I thought "New Dawn" sounds kinda cool. It’s a very on-the-nose title,
I know. Might change at some point if I happen to come up with something
better. Or it might just stick, who knows?
2023-12-06 19:36:54 +01:00
BodgeMaster d5da54c11d deployment-script: cut the ./ from the start of the chapter link 2023-12-06 18:59:46 +01:00
2 changed files with 17 additions and 13 deletions

View File

@ -4,7 +4,7 @@ cp html_resources/index_template.html index.html
function genlinks { function genlinks {
for FILE in $(find . -maxdepth 1 -type f -name "??-*.html" | sort); do for FILE in $(find . -maxdepth 1 -type f -name "??-*.html" | sort); do
echo -ne " <li><a href=\"$FILE\">\n" echo -ne " <li><a href=\"$FILE\">\n"
echo -n " $(sed -e 's/-.*//' <<< "$FILE") <span class="'"chapter">' echo -n " $(sed -e 's|^\./||;s/-.*//' <<< "$FILE") <span class="'"chapter">'
grep -oe "<title>.*</title>" $FILE | sed -e 's/<title> //;s| </title>|</span>|' grep -oe "<title>.*</title>" $FILE | sed -e 's/<title> //;s| </title>|</span>|'
echo " </a></li>" echo " </a></li>"
done done

View File

@ -1,24 +1,28 @@
<!DOCTYPE html><html><head><title> &lt;Post Apocalypse Story&gt; </title><link rel="stylesheet" type="text/css" href="html_resources/style.css"></head><body> <!DOCTYPE html><html><head><title> New Dawn </title><link rel="stylesheet" type="text/css" href="html_resources/style.css"></head><body>
<h1> &lt;Post Apocalypse Story&gt; </h1> <h1> New Dawn </h1>
<p class="comment"> <p class="comment">
Yeah, there is no real title yet. Now with 100% more title! It might be a bit too on-the-nose tho, Idk.
</p> </p>
<p> <p>
Welcome, reader! This website is basically a book that I am working on Welcome, reader! This website is basically a book that I am working on
on the metro during my daily commute. It&apos;s an adventure story set on the metro during my daily commute. It&apos;s an adventure story set
in a post-apocalyptic, retro-futuristic world. Progress is kinda slow due in a post-apocalyptic, retro-futuristic world. Progress is kinda slow due
to my limited time but if you&apos;re into this kind of stuff, feel free to my limited time but if you&apos;re into this kind of stuff, feel free
to hang around, I&apos;d appreciate it, and <b>please give feedback</b>. to hang around, I&apos;d appreciate it.
I need it to turn what looks good to me into something that is actually
passable. I&apos;m @bodgemaster on Discord, please direct your feedback
to my DMs or to the story channel if you have access to that (you know
who you are :] ...).
</p> </p>
<p> <p>
Below, in the table of contents, you find links to all the chapters. <b>Please give feedback.</b> I need it to turn what looks good to me into
There is also a <a href="./notes/">collection of notes</a> that, while not something that is actually passable. You will find me as @bodgemaster on
particularly well-maintained, might be interesting (in case you missed Discord, please direct your feedback to my DMs or to the story channel if
the link: <a href="./notes/">here</a>). you have access to that (you know who you are :] ...).
</p>
<p>
Below, in the table of contents, you find links to all the (already
written) chapters. Many don&apos;t have numbers because there is an
unknown amount of chapters inbetween them but they are named so they show
up in the right order. There is also a <a href="./notes/">collection of
notes</a> that, while not particularly well-maintained, might be
interesting (in case you missed the link: <a href="./notes/">here</a>).
</p> </p>
<p> <p>
Table of Contents: Table of Contents: