summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--entries/about-her.html52
-rwxr-xr-xmake.sh10
-rw-r--r--pages/about-her.html34
-rw-r--r--pages/about.html (renamed from entries/about.html)2
-rw-r--r--pages/error.html (renamed from entries/error.html)0
-rw-r--r--pages/index.html (renamed from entries/index.html)0
-rw-r--r--pages/resources.html (renamed from entries/resources.html)2
-rw-r--r--pages/template.html (renamed from entries/template.html)0
-rwxr-xr-xrender.sh17
-rw-r--r--templates/about-her.html18
10 files changed, 73 insertions, 62 deletions
diff --git a/entries/about-her.html b/entries/about-her.html
index 94b930d..d037e96 100644
--- a/entries/about-her.html
+++ b/entries/about-her.html
@@ -1,34 +1,18 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <title>About her: the Woman in my Eye</title>
- {head-common}
- <meta name="description"
- content="About the woman in my eye - the woman who I saw as a child and who I've become.">
-</head>
-<body>
- <header>
- <h1>About her: the Woman in my Eye</h1>
- </header>
- <nav title="site menu">
- <ul>
- <li>
- <a href='/'>home</a>
- </li>
- <li>
- <a href='/resources'>resources</a>
- </li>
- <li>
- <a href='/about'>about</a>
- </li>
- <li>
- <a href='/blog'>blog</a>
- </li>
- </ul>
- </nav>
- <main>
- {about-her}
- </main>
- {footer}
-</body>
-</html>
+<article>
+ <h2>Who is the woman in my eye</h2>
+ <p>
+ When I was little I would stare into the lights around my room. It would create little spots in my vision; flickering and dancing that would eventually fade away. As they would face every time the every shrinking flickering dot would become this image of a woman's face. She was beautiful. She captivated me. I would do this constantly growing up. I would stare into my ceiling lights, in the lights coming through my window, anywhere - if it meant I could see her. I would try staring at larger lights hoping that final flickering dot was larger and I would be able to see her more clearly. She stayed with me for most of my childhood. It wasn't until I was around high-school that I lose memory of seeing her. Which makes sense since this was when the lights, in general, faded from my eyes. But who was she?
+ </p>
+ <p>
+ I like to think she was me. She <em>is</em> me.
+ </p>
+ <p>
+ If you ever wish to share your story or ask a question you can always email me at:
+ <a href="mailto:dear@thewomaninmyeye.org">dear[at]thewomaninmyeye[dot]org</a>
+ </p>
+ <footer>
+ <p>Permalink:
+ <a href="/about-her.html">https://thewomaninmyeye.org/about-her.html</a>
+ </p>
+ </footer>
+</article>
diff --git a/make.sh b/make.sh
index 93d0211..7e2be18 100755
--- a/make.sh
+++ b/make.sh
@@ -1,9 +1,9 @@
# Render pages
-./render.sh entries/index.html www/index.html
-./render.sh entries/error.html www/error.html
-./render.sh entries/resources.html www/resources.html
-./render.sh entries/about.html www/about.html
-./render.sh entries/about-her.html www/about-her.html
+./render.sh pages/index.html www/index.html
+./render.sh pages/error.html www/error.html
+./render.sh pages/resources.html www/resources.html
+./render.sh pages/about.html www/about.html
+./render.sh pages/about-her.html www/about-her.html
# copy static files
cp -r static/* www
diff --git a/pages/about-her.html b/pages/about-her.html
new file mode 100644
index 0000000..94b930d
--- /dev/null
+++ b/pages/about-her.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <title>About her: the Woman in my Eye</title>
+ {head-common}
+ <meta name="description"
+ content="About the woman in my eye - the woman who I saw as a child and who I've become.">
+</head>
+<body>
+ <header>
+ <h1>About her: the Woman in my Eye</h1>
+ </header>
+ <nav title="site menu">
+ <ul>
+ <li>
+ <a href='/'>home</a>
+ </li>
+ <li>
+ <a href='/resources'>resources</a>
+ </li>
+ <li>
+ <a href='/about'>about</a>
+ </li>
+ <li>
+ <a href='/blog'>blog</a>
+ </li>
+ </ul>
+ </nav>
+ <main>
+ {about-her}
+ </main>
+ {footer}
+</body>
+</html>
diff --git a/entries/about.html b/pages/about.html
index eff9f28..4cabb87 100644
--- a/entries/about.html
+++ b/pages/about.html
@@ -30,7 +30,7 @@
Hello, I am a 30s something transgender woman from the north east coast United States. I transitioned at the age of 31 after years of struggling with my gender. I'm sure you'll find out more of that here in my posts. I started this site to try and just make a resource for folks who are questioning their gender or struggling during their own transitions. For some context at the time of starting this site the internet was in a bit of a crossroads. Multiple websites that were places for communities to grow started to struggle as leadership was changing or forcing the direction of the sites in a way that pushes outs its communities. So I wanted to have a place in my own control to aggregate resources and share my own stories for folks to find.
</p>
<p>
- Now that's a bit ambitious of course. I understand that. Realistically, I plan to write my personal journery here as a resource first and share any resources I've come across in the meantime. Heck, this will also do wonders, with my short memory, acting as almost a universal bookmark!
+ Now that's a bit ambitious of course. I understand that. Realistically, I plan to write my personal journey here as a resource first and share any resources I've come across in the meantime. Heck, this will also do wonders, with my short memory, acting as almost a universal bookmark!
</p>
</article>
{about-her}
diff --git a/entries/error.html b/pages/error.html
index f044bda..f044bda 100644
--- a/entries/error.html
+++ b/pages/error.html
diff --git a/entries/index.html b/pages/index.html
index b1557b7..b1557b7 100644
--- a/entries/index.html
+++ b/pages/index.html
diff --git a/entries/resources.html b/pages/resources.html
index 1471496..04afd1f 100644
--- a/entries/resources.html
+++ b/pages/resources.html
@@ -42,7 +42,7 @@
rel="external noopener noreferrer">
Stained Glass Woman
</a>
- - A blog from a transgender woman with way more knowledge and experience than myself. She covers topics similar to this site but frankly written much better and you should definetly read this over.
+ - A blog from a transgender woman with way more knowledge and experience than myself. She covers topics similar to this site but frankly written much better and you should definitely read this over.
</li>
<li>
<a href="https://www.reddit.com/r/transvoice/wiki/index"
diff --git a/entries/template.html b/pages/template.html
index 4b70d9d..4b70d9d 100644
--- a/entries/template.html
+++ b/pages/template.html
diff --git a/render.sh b/render.sh
index 47cd89d..2ae2309 100755
--- a/render.sh
+++ b/render.sh
@@ -1,4 +1,13 @@
set -ex;
+
+function injectTemplate {
+ tmpl=$1
+ dest=$2
+ key=$(basename ${tmpl} .html)
+ sed -i "/[{]${key}[}]/r ${tmpl}" $dest
+ sed -i "s/[{]${key}[}]//g" $dest
+}
+
if [ $# -ne 2 ]; then
echo "Usage: ./render.sh <file> www/<path>/<to>/<prod>.html"
exit 1;
@@ -11,9 +20,11 @@ mkdir -p $(dirname $DEST)
cp $FILE $DEST
for tmpl in templates/*.html; do
- key=$(basename ${tmpl} .html)
- sed -i "/[{]${key}[}]/r ${tmpl}" $DEST
- sed -i "s/[{]${key}[}]//g" $DEST
+ injectTemplate $tmpl $DEST
+done
+for tmpl in entries/*.html; do
+ injectTemplate $tmpl $DEST
done
+
./tidy.sh $DEST
diff --git a/templates/about-her.html b/templates/about-her.html
deleted file mode 100644
index 02d6803..0000000
--- a/templates/about-her.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<article>
- <h2>Who is the woman in my eye</h2>
- <p>
- When I was little I would stare into the lights around my room. It would create little spots in my vision; flickering and dancing that would eventually fade away. As they would face every time the every shrinkering flickering dot would become this image of a woman's face. She was beautiful. She captivated me. I would do this constantly growing up. I would stare into my ceiling lights, in the lights coming through my window, anywhere - if it meant I could see her. I would try staring at larger lights hoping that final flickering dot was larger and I would be able to see her more clearly. She stayed with me for most of my childhood. It wasn't until I was around highschool that I lose memory of seeing her. Which makes sense since this was when the lights, in general, faded from my eyes. But who was she?
- </p>
- <p>
- I like to think she was me. She <em>is</em> me.
- </p>
- <p>
- If you ever wish to share your story or ask a question you can always email me at:
- <a href="mailto:dear@thewomaninmyeye.org">dear[at]thewomaninmyeye[dot]org</a>
- </p>
- <footer>
- <p>Permalink:
- <a href="/about-her.html">https://thewomaninmyeye.org/about-her.html</a>
- </p>
- </footer>
-</article>