From ae0ed2f18f7f60af0525b3f61ee371d368a853f1 Mon Sep 17 00:00:00 2001 From: "Jocelyn Badgley (Twipped)" Date: Sat, 29 Feb 2020 18:29:13 -0800 Subject: [PATCH] Changing how the disclaimer is included on the GDB pages --- public/gdb/_disclaimer.hbs | 4 ++++ public/gdb/biochemical-dysphoria.md | 1 + public/gdb/causes.md | 2 +- public/gdb/chromosomes.md | 1 + public/gdb/conclusion.md | 2 +- public/gdb/diagnoses.md | 2 +- public/gdb/euphoria.md | 1 + public/gdb/historical-dysphoria.md | 1 + public/gdb/history.md | 2 +- public/gdb/impostor-syndrome.md | 2 +- public/gdb/index.md | 2 +- public/gdb/managed-dysphoria.md | 1 + public/gdb/physical-dysphoria.md | 1 + public/gdb/presentational-dysphoria.md | 1 + public/gdb/sexual-dysphoria.md | 1 + public/gdb/social-dysphoria.md | 1 + public/gdb/societal-dysphoria.md | 1 + public/gdb/treatment.md | 2 +- public/gdb/what-is-gender.md | 1 + scss/_header.scss | 10 ++++++---- scss/_post.scss | 3 ++- templates/post.hbs | 5 +---- 22 files changed, 31 insertions(+), 16 deletions(-) create mode 100644 public/gdb/_disclaimer.hbs diff --git a/public/gdb/_disclaimer.hbs b/public/gdb/_disclaimer.hbs new file mode 100644 index 0000000..c17780f --- /dev/null +++ b/public/gdb/_disclaimer.hbs @@ -0,0 +1,4 @@ +
+ The Gender Dysphoria Bible is a Living Document +

The contents of this site will change over time as new additions and revisions are made to further expand upon the full breadth of Gender Dysphoria. In its current iteration it is severely lacking in AFAB narratives, non-binary, agender & genderfluid specific dysphoria, and Third Gender narratives. The GDB is an open source and publicly funded project, content and fiscal contributions are extremely welcome.

+
diff --git a/public/gdb/biochemical-dysphoria.md b/public/gdb/biochemical-dysphoria.md index 7e86d7d..5adfbc3 100644 --- a/public/gdb/biochemical-dysphoria.md +++ b/public/gdb/biochemical-dysphoria.md @@ -2,6 +2,7 @@ date: "2020-01-26T20:41:55.827Z" title: "How Gender Dysphoria Manifests: Biochemical Dysphoria" description: "The very real and biological factors of Gender Dysphoria that cause mental disturbance." +preBody: '_disclaimer' tweets: - '1215716438972993536' - '1215736608055537670' diff --git a/public/gdb/causes.md b/public/gdb/causes.md index 573f186..39e55d8 100644 --- a/public/gdb/causes.md +++ b/public/gdb/causes.md @@ -2,6 +2,7 @@ date: "2020-01-26T20:41:55.827Z" title: "What is the Cause of Gender Incongruence" description: "It's the hormones, baby." +preBody: '_disclaimer' tweets: - https://twitter.com/LisaTMullin/status/1224039568971710464 - https://twitter.com/LisaTMullin/status/1224040716365524993 @@ -10,7 +11,6 @@ tweets: - https://twitter.com/LisaTMullin/status/1224042620164296705 - https://twitter.com/LisaTMullin/status/1224043995413639168 - https://twitter.com/LisaTMullin/status/1224044949160611840 - --- #What is the Cause of Gender Incongruence? diff --git a/public/gdb/chromosomes.md b/public/gdb/chromosomes.md index 2762228..83655ab 100644 --- a/public/gdb/chromosomes.md +++ b/public/gdb/chromosomes.md @@ -2,6 +2,7 @@ date: "2020-01-26T20:41:55.827Z" title: "Disorders of Sex Development: Gender is not Chromosomal" description: "DNA is more what you'd call guidelines, than actual rules." +preBody: '_disclaimer' tweets: - https://twitter.com/RebeccaRHelm/status/1207834357639139328 - https://twitter.com/RebeccaRHelm/status/1207835110617309191 diff --git a/public/gdb/conclusion.md b/public/gdb/conclusion.md index 88b7d83..dddd994 100644 --- a/public/gdb/conclusion.md +++ b/public/gdb/conclusion.md @@ -2,7 +2,7 @@ date: "2020-01-26T20:41:55.827Z" title: "In Conclusion" description: "Enough with the gatekeeping already." - +preBody: '_disclaimer' --- # Conclusion diff --git a/public/gdb/diagnoses.md b/public/gdb/diagnoses.md index e048592..32e5f6d 100644 --- a/public/gdb/diagnoses.md +++ b/public/gdb/diagnoses.md @@ -2,7 +2,7 @@ date: "2020-01-26T20:41:55.827Z" title: "Diagnosing Gender Dysphoria" description: "It's clinical." - +preBody: '_disclaimer' --- # How is Gender Dysphoria Diagnosed? diff --git a/public/gdb/euphoria.md b/public/gdb/euphoria.md index f93ef46..86c1e13 100644 --- a/public/gdb/euphoria.md +++ b/public/gdb/euphoria.md @@ -2,6 +2,7 @@ date: "2020-01-26T20:41:55.827Z" title: "How Gender Dysphoria Manifests: Euphoria" description: "In order for there to be shadow there must be light." +preBody: '_disclaimer' tweets: - '1215716433210105856' - https://twitter.com/ErinInTheMorn/status/1228141518386585607 diff --git a/public/gdb/historical-dysphoria.md b/public/gdb/historical-dysphoria.md index 5e61b69..00a278e 100644 --- a/public/gdb/historical-dysphoria.md +++ b/public/gdb/historical-dysphoria.md @@ -2,6 +2,7 @@ date: "2020-01-26T20:41:55.827Z" title: "How Gender Dysphoria Manifests: Historical Dysphoria" description: "I don't regret the things I have done, I regret the things I didn't do when I had the chance." +preBody: '_disclaimer' --- # Historical Dysphoria diff --git a/public/gdb/history.md b/public/gdb/history.md index 4f7de47..384be96 100644 --- a/public/gdb/history.md +++ b/public/gdb/history.md @@ -2,7 +2,7 @@ date: "2020-01-26T20:41:55.827Z" title: "A Brief History of Gender Dysphoria" description: "The origins of Gender Dysphoria and the current meaning today." - +preBody: '_disclaimer' --- # A Brief History of Gender Dysphoria diff --git a/public/gdb/impostor-syndrome.md b/public/gdb/impostor-syndrome.md index 670c5f9..607f560 100644 --- a/public/gdb/impostor-syndrome.md +++ b/public/gdb/impostor-syndrome.md @@ -2,10 +2,10 @@ date: "2020-01-26T20:41:55.827Z" title: "Impostor Syndrome, but make it Trans" description: "I don't regret the things I have done, I regret the things I didn't do when I had the chance." +preBody: '_disclaimer' tweets: - '1219963582063968258' - '1221970265862811650' - - '1153300365355307008' - '1153300366902960128' - '1153300368974991361' diff --git a/public/gdb/index.md b/public/gdb/index.md index 9ecd95c..b1e039c 100644 --- a/public/gdb/index.md +++ b/public/gdb/index.md @@ -2,7 +2,7 @@ date: "2020-01-26T20:41:55.827Z" title: "The Gender Dysphoria Bible" description: "A dive into the multitude of ways that gender dysphoria manifests and what it means to be transgender." - +preBody: '_disclaimer' --- diff --git a/public/gdb/managed-dysphoria.md b/public/gdb/managed-dysphoria.md index 38e471d..8abf795 100644 --- a/public/gdb/managed-dysphoria.md +++ b/public/gdb/managed-dysphoria.md @@ -2,6 +2,7 @@ date: "2020-01-26T20:41:55.827Z" title: "Managed Dysphoria: Gender in Disguise" description: "I don't regret the things I have done, I regret the things I didn't do when I had the chance." +preBody: '_disclaimer' tweets: - '1215746083487461379' - '1215749725456125952' diff --git a/public/gdb/physical-dysphoria.md b/public/gdb/physical-dysphoria.md index f32dae5..1a598a1 100644 --- a/public/gdb/physical-dysphoria.md +++ b/public/gdb/physical-dysphoria.md @@ -2,6 +2,7 @@ date: "2020-01-26T20:41:55.827Z" title: "How Gender Dysphoria Manifests: Physical Dysphoria" description: "Body discomfort is only one of the many ways Gender Dysphoria manifests." +preBody: '_disclaimer' tweets: - '1220143004821938176' - '1184580976581775366' diff --git a/public/gdb/presentational-dysphoria.md b/public/gdb/presentational-dysphoria.md index 737f7b1..f6007e1 100644 --- a/public/gdb/presentational-dysphoria.md +++ b/public/gdb/presentational-dysphoria.md @@ -2,6 +2,7 @@ date: "2020-01-26T20:41:55.827Z" title: "How Gender Dysphoria Manifests: Presentational Dysphoria" description: "Hoodies and sweatpants never go out of style." +preBody: '_disclaimer' tweets: - '1215716435068100611' - '1215716435974066176' diff --git a/public/gdb/sexual-dysphoria.md b/public/gdb/sexual-dysphoria.md index a66676b..9b45a71 100644 --- a/public/gdb/sexual-dysphoria.md +++ b/public/gdb/sexual-dysphoria.md @@ -2,6 +2,7 @@ date: "2020-01-26T20:41:55.827Z" title: "How Gender Dysphoria Manifests: Sexual Dysphoria" description: "Sometimes a Cigar doesn't want to be smoked." +preBody: '_disclaimer' tweets: - '1137399651458519040' diff --git a/public/gdb/social-dysphoria.md b/public/gdb/social-dysphoria.md index d66b271..e851461 100644 --- a/public/gdb/social-dysphoria.md +++ b/public/gdb/social-dysphoria.md @@ -2,6 +2,7 @@ date: "2020-01-26T20:41:55.827Z" title: "How Gender Dysphoria Manifests: Social Dysphoria" description: "Pronouns and Deadnames and Gendering, oh my." +preBody: '_disclaimer' tweets: - '1215718003310039040' - '1215720411788382210' diff --git a/public/gdb/societal-dysphoria.md b/public/gdb/societal-dysphoria.md index 6850d03..eff96d0 100644 --- a/public/gdb/societal-dysphoria.md +++ b/public/gdb/societal-dysphoria.md @@ -2,6 +2,7 @@ date: "2020-01-26T20:41:55.827Z" title: "How Gender Dysphoria Manifests: Societal Dysphoria" description: "Because a Role is a Role, and a Toll is a Toll, and it's a heavy toll to live the wrong role." +preBody: '_disclaimer' tweets: - '1201138482569195526' - '1216109204093722630' diff --git a/public/gdb/treatment.md b/public/gdb/treatment.md index 30cb54e..e24d439 100644 --- a/public/gdb/treatment.md +++ b/public/gdb/treatment.md @@ -2,7 +2,7 @@ date: "2020-01-26T20:41:55.827Z" title: "Treating Gender Dysphoria" description: "Transition is the cure." - +preBody: '_disclaimer' --- # How is Gender Dysphoria Treated? diff --git a/public/gdb/what-is-gender.md b/public/gdb/what-is-gender.md index 84c9f86..71a33a7 100644 --- a/public/gdb/what-is-gender.md +++ b/public/gdb/what-is-gender.md @@ -2,6 +2,7 @@ date: "2020-01-26T20:41:55.827Z" title: "What is Gender?" description: "How do we define the concept of Gender, and how does it differ from Sex?" +preBody: '_disclaimer' tweets: - https://twitter.com/CognitiveSoc/status/1228717614630940672 --- diff --git a/scss/_header.scss b/scss/_header.scss index a656e3b..ac85cc3 100644 --- a/scss/_header.scss +++ b/scss/_header.scss @@ -145,15 +145,17 @@ header { } +header + * { + @media (min-width: 500px) { + margin-top: $header-full-height; + } +} + .disclaimer { $cwColor: darken($gray-100, 2%); border-bottom: 1px solid $gutter-border; - @media (min-width: 500px) { - margin-top: $header-full-height; - } - > div { margin: 0 auto; max-width: 1200px; diff --git a/scss/_post.scss b/scss/_post.scss index 76c5563..1551c82 100644 --- a/scss/_post.scss +++ b/scss/_post.scss @@ -19,7 +19,8 @@ body.page { border-bottom: 1px solid $gutter-border; max-width: 1200px; - margin: 0 auto; + margin-left: auto; + margin-right: auto; } article { diff --git a/templates/post.hbs b/templates/post.hbs index 9878fc3..1eb440f 100644 --- a/templates/post.hbs +++ b/templates/post.hbs @@ -14,10 +14,7 @@ {{/content}} {{#append 'post-header'}} -
- The Gender Dysphoria Bible is a Living Document -

The contents of this site will change over time as new additions and revisions are made to further expand upon the full breadth of Gender Dysphoria. In its current iteration it is severely lacking in AFAB narratives, non-binary, agender & genderfluid specific dysphoria, and Third Gender narratives. The GDB is an open source and publicly funded project, content and fiscal contributions are extremely welcome.

-
+ {{#if meta.preBody}}{{import meta.preBody}}{{/if}} {{/append}} {{#content "bodyClass"}}page{{/content}}