From 522a9e55821d46e084be43c15e5819594bbee220 Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Mon, 26 Jun 2023 19:49:02 -0400 Subject: Move entries to pages and rearrange files Some minor spellchecking also involved here. But basically the intention is to do: pages/ More permanent pages entries/ These are just the articles themselves templates/ These are page snippets to include around The intention for splitting out entries is for if I host this also on gemini the entries are what I can do the processing against vs the page itself which contains the boilerplate template --- entries/about-her.html | 52 +++++++++++++---------------------- entries/about.html | 40 --------------------------- entries/error.html | 38 -------------------------- entries/index.html | 48 --------------------------------- entries/resources.html | 70 ------------------------------------------------ entries/template.html | 39 --------------------------- make.sh | 10 +++---- pages/about-her.html | 34 +++++++++++++++++++++++ pages/about.html | 40 +++++++++++++++++++++++++++ pages/error.html | 38 ++++++++++++++++++++++++++ pages/index.html | 48 +++++++++++++++++++++++++++++++++ pages/resources.html | 70 ++++++++++++++++++++++++++++++++++++++++++++++++ pages/template.html | 39 +++++++++++++++++++++++++++ render.sh | 17 +++++++++--- templates/about-her.html | 18 ------------- 15 files changed, 306 insertions(+), 295 deletions(-) delete mode 100644 entries/about.html delete mode 100644 entries/error.html delete mode 100644 entries/index.html delete mode 100644 entries/resources.html delete mode 100644 entries/template.html create mode 100644 pages/about-her.html create mode 100644 pages/about.html create mode 100644 pages/error.html create mode 100644 pages/index.html create mode 100644 pages/resources.html create mode 100644 pages/template.html delete mode 100644 templates/about-her.html 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 @@ - - - - About her: the Woman in my Eye - {head-common} - - - -
-

About her: the Woman in my Eye

-
- -
- {about-her} -
- {footer} - - +
+

Who is the woman in my eye

+

+ 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? +

+

+ I like to think she was me. She is me. +

+

+ If you ever wish to share your story or ask a question you can always email me at: + dear[at]thewomaninmyeye[dot]org +

+ +
diff --git a/entries/about.html b/entries/about.html deleted file mode 100644 index eff9f28..0000000 --- a/entries/about.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - About the Woman in my Eye - {head-common} - - - -
-

About the Woman in my Eye

-
- -
-
-

About me, the author

-

- 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. -

-

- 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! -

-
- {about-her} -
- {footer} - - diff --git a/entries/error.html b/entries/error.html deleted file mode 100644 index f044bda..0000000 --- a/entries/error.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - {head-common} - The Woman in my Eye - - - -
-

The page requested is not found!

-
- -
-
-

Oops, someone screwed up?

-

The page you've requested does not exist. Sorry about that! Please - return to the homepage.

-
-
- {footer} - - diff --git a/entries/index.html b/entries/index.html deleted file mode 100644 index b1557b7..0000000 --- a/entries/index.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - The Woman in my Eye - {head-common} - - - -
-

Hello, the Woman in my Eye

-
- -
-
-

Introduction

-

Welcome to my blog. I am a 30 something transgender woman. - This blog focuses on my journey transitioning and discovering my gender. - I am not a medical professional or an expert on the subject. - I am simply a girl trying to share her story in the hopes it - might actually help someone else find themselves...or entertain; either - works!

-
-
-

Notice: I am barely setup!

-

Hey, thanks for visiting my website. I decided to take on this - initiative basically right before I had to leave my house for a few days. - So hopefully I can get this up and running soon after. For posterity I - wrote this on , so when you're seeing this in 2030 we can all laugh.

-
-
- {footer} - - diff --git a/entries/resources.html b/entries/resources.html deleted file mode 100644 index 1471496..0000000 --- a/entries/resources.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - The Woman in my Eye - {head-common} - - - -
-

Help me, the Woman in my Eye

-
- -
-
-

Resources

-

- Please take a look at these resources. Hopefully they can answer any of the questions you may have about transitioning or transgender life in general. -

-
    -
  1. - - https://genderdysphoria.fyi - - - a great resource on understanding the various types of dysphoria
  2. -
  3. - - Stained Glass Woman - - - 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. -
  4. -
  5. - - /r/transvoice wiki index - - - The trans voice subreddit wiki. Check the comments of some of the linked posts for how up to date everything is. But this subreddit, and it's wiki, is an excellent resource to start voice training. -
- -
-

- This list was last updated at on - . - If you find any links that are broken you can reach out to me at: - dear[at]thewomaninmyeye[dot]org. -

-
-
-
- {footer} - - diff --git a/entries/template.html b/entries/template.html deleted file mode 100644 index 4b70d9d..0000000 --- a/entries/template.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - The Woman in my Eye - {head-common} - - - -
-

SOMETHING CLEVER, the Woman in my Eye

-
- -
-
-

Entry Title

-

- BODY -

-
-
- {footer} - - 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 @@ + + + + About her: the Woman in my Eye + {head-common} + + + +
+

About her: the Woman in my Eye

+
+ +
+ {about-her} +
+ {footer} + + diff --git a/pages/about.html b/pages/about.html new file mode 100644 index 0000000..4cabb87 --- /dev/null +++ b/pages/about.html @@ -0,0 +1,40 @@ + + + + About the Woman in my Eye + {head-common} + + + +
+

About the Woman in my Eye

+
+ +
+
+

About me, the author

+

+ 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. +

+

+ 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! +

+
+ {about-her} +
+ {footer} + + diff --git a/pages/error.html b/pages/error.html new file mode 100644 index 0000000..f044bda --- /dev/null +++ b/pages/error.html @@ -0,0 +1,38 @@ + + + + {head-common} + The Woman in my Eye + + + +
+

The page requested is not found!

+
+ +
+
+

Oops, someone screwed up?

+

The page you've requested does not exist. Sorry about that! Please + return to the homepage.

+
+
+ {footer} + + diff --git a/pages/index.html b/pages/index.html new file mode 100644 index 0000000..b1557b7 --- /dev/null +++ b/pages/index.html @@ -0,0 +1,48 @@ + + + + The Woman in my Eye + {head-common} + + + +
+

Hello, the Woman in my Eye

+
+ +
+
+

Introduction

+

Welcome to my blog. I am a 30 something transgender woman. + This blog focuses on my journey transitioning and discovering my gender. + I am not a medical professional or an expert on the subject. + I am simply a girl trying to share her story in the hopes it + might actually help someone else find themselves...or entertain; either + works!

+
+
+

Notice: I am barely setup!

+

Hey, thanks for visiting my website. I decided to take on this + initiative basically right before I had to leave my house for a few days. + So hopefully I can get this up and running soon after. For posterity I + wrote this on , so when you're seeing this in 2030 we can all laugh.

+
+
+ {footer} + + diff --git a/pages/resources.html b/pages/resources.html new file mode 100644 index 0000000..04afd1f --- /dev/null +++ b/pages/resources.html @@ -0,0 +1,70 @@ + + + + The Woman in my Eye + {head-common} + + + +
+

Help me, the Woman in my Eye

+
+ +
+
+

Resources

+

+ Please take a look at these resources. Hopefully they can answer any of the questions you may have about transitioning or transgender life in general. +

+
    +
  1. + + https://genderdysphoria.fyi + + - a great resource on understanding the various types of dysphoria
  2. +
  3. + + Stained Glass Woman + + - 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. +
  4. +
  5. + + /r/transvoice wiki index + + - The trans voice subreddit wiki. Check the comments of some of the linked posts for how up to date everything is. But this subreddit, and it's wiki, is an excellent resource to start voice training. +
+ +
+

+ This list was last updated at on + . + If you find any links that are broken you can reach out to me at: + dear[at]thewomaninmyeye[dot]org. +

+
+
+
+ {footer} + + diff --git a/pages/template.html b/pages/template.html new file mode 100644 index 0000000..4b70d9d --- /dev/null +++ b/pages/template.html @@ -0,0 +1,39 @@ + + + + The Woman in my Eye + {head-common} + + + +
+

SOMETHING CLEVER, the Woman in my Eye

+
+ +
+
+

Entry Title

+

+ BODY +

+
+
+ {footer} + + 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 www///.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 @@ -
-

Who is the woman in my eye

-

- 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? -

-

- I like to think she was me. She is me. -

-

- If you ever wish to share your story or ask a question you can always email me at: - dear[at]thewomaninmyeye[dot]org -

- -
-- cgit v1.2.3-54-g00ecf