Change how page/post classes are applied

This commit is contained in:
Jocelyn Badgley (Twipped) 2020-03-02 20:25:39 -08:00
parent d5c15ebde4
commit 5a87f64e9d
21 changed files with 95 additions and 46 deletions

View File

@ -3,6 +3,8 @@ date: "2020-01-26T20:41:55.827Z"
title: "How Gender Dysphoria Manifests: Biochemical Dysphoria" title: "How Gender Dysphoria Manifests: Biochemical Dysphoria"
description: "The very real and biological factors of Gender Dysphoria that cause mental disturbance." description: "The very real and biological factors of Gender Dysphoria that cause mental disturbance."
preBody: '_disclaimer' preBody: '_disclaimer'
classes:
- gdb
tweets: tweets:
- '1215716438972993536' - '1215716438972993536'
- '1215736608055537670' - '1215736608055537670'

View File

@ -3,6 +3,8 @@ date: "2020-01-26T20:41:55.827Z"
title: "What is the Cause of Gender Incongruence" title: "What is the Cause of Gender Incongruence"
description: "It's the hormones, baby." description: "It's the hormones, baby."
preBody: '_disclaimer' preBody: '_disclaimer'
classes:
- gdb
tweets: tweets:
- https://twitter.com/LisaTMullin/status/1224039568971710464 - https://twitter.com/LisaTMullin/status/1224039568971710464
- https://twitter.com/LisaTMullin/status/1224040716365524993 - https://twitter.com/LisaTMullin/status/1224040716365524993

View File

@ -3,6 +3,8 @@ date: "2020-01-26T20:41:55.827Z"
title: "Disorders of Sex Development: Gender is not Chromosomal" title: "Disorders of Sex Development: Gender is not Chromosomal"
description: "DNA is more what you'd call guidelines, than actual rules." description: "DNA is more what you'd call guidelines, than actual rules."
preBody: '_disclaimer' preBody: '_disclaimer'
classes:
- gdb
tweets: tweets:
- https://twitter.com/RebeccaRHelm/status/1207834357639139328 - https://twitter.com/RebeccaRHelm/status/1207834357639139328
- https://twitter.com/RebeccaRHelm/status/1207835110617309191 - https://twitter.com/RebeccaRHelm/status/1207835110617309191

View File

@ -2,6 +2,8 @@
date: "2020-01-26T20:41:55.827Z" date: "2020-01-26T20:41:55.827Z"
title: "In Conclusion" title: "In Conclusion"
description: "Enough with the gatekeeping already." description: "Enough with the gatekeeping already."
classes:
- gdb
preBody: '_disclaimer' preBody: '_disclaimer'
--- ---

View File

@ -3,6 +3,8 @@ date: "2020-01-26T20:41:55.827Z"
title: "Diagnosing Gender Dysphoria" title: "Diagnosing Gender Dysphoria"
description: "It's clinical." description: "It's clinical."
preBody: '_disclaimer' preBody: '_disclaimer'
classes:
- gdb
--- ---
# How is Gender Dysphoria Diagnosed? # How is Gender Dysphoria Diagnosed?

View File

@ -3,6 +3,8 @@ date: "2020-01-26T20:41:55.827Z"
title: "How Gender Dysphoria Manifests: Euphoria" title: "How Gender Dysphoria Manifests: Euphoria"
description: "In order for there to be shadow there must be light." description: "In order for there to be shadow there must be light."
preBody: '_disclaimer' preBody: '_disclaimer'
classes:
- gdb
tweets: tweets:
- '1215716433210105856' - '1215716433210105856'
- https://twitter.com/ErinInTheMorn/status/1228141518386585607 - https://twitter.com/ErinInTheMorn/status/1228141518386585607

View File

@ -2,6 +2,8 @@
date: "2020-01-26T20:41:55.827Z" date: "2020-01-26T20:41:55.827Z"
title: "How Gender Dysphoria Manifests: Historical Dysphoria" 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." description: "I don't regret the things I have done, I regret the things I didn't do when I had the chance."
classes:
- gdb
preBody: '_disclaimer' preBody: '_disclaimer'
--- ---

View File

@ -2,6 +2,8 @@
date: "2020-01-26T20:41:55.827Z" date: "2020-01-26T20:41:55.827Z"
title: "A Brief History of Gender Dysphoria" title: "A Brief History of Gender Dysphoria"
description: "The origins of Gender Dysphoria and the current meaning today." description: "The origins of Gender Dysphoria and the current meaning today."
classes:
- gdb
preBody: '_disclaimer' preBody: '_disclaimer'
--- ---

View File

@ -3,6 +3,8 @@ date: "2020-01-26T20:41:55.827Z"
title: "Impostor Syndrome, but make it Trans" 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." 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' preBody: '_disclaimer'
classes:
- gdb
tweets: tweets:
- '1219963582063968258' - '1219963582063968258'
- '1221970265862811650' - '1221970265862811650'

View File

@ -3,6 +3,9 @@ date: "2020-01-26T20:41:55.827Z"
title: "The Gender Dysphoria Bible" title: "The Gender Dysphoria Bible"
description: "A dive into the multitude of ways that gender dysphoria manifests and what it means to be transgender." description: "A dive into the multitude of ways that gender dysphoria manifests and what it means to be transgender."
preBody: '_disclaimer' preBody: '_disclaimer'
classes:
- gdb
--- ---

View File

@ -3,6 +3,8 @@ date: "2020-01-26T20:41:55.827Z"
title: "Managed Dysphoria: Gender in Disguise" 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." 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' preBody: '_disclaimer'
classes:
- gdb
tweets: tweets:
- '1215746083487461379' - '1215746083487461379'
- '1215749725456125952' - '1215749725456125952'

View File

@ -3,6 +3,8 @@ date: "2020-01-26T20:41:55.827Z"
title: "How Gender Dysphoria Manifests: Physical Dysphoria" title: "How Gender Dysphoria Manifests: Physical Dysphoria"
description: "Body discomfort is only one of the many ways Gender Dysphoria manifests." description: "Body discomfort is only one of the many ways Gender Dysphoria manifests."
preBody: '_disclaimer' preBody: '_disclaimer'
classes:
- gdb
tweets: tweets:
- '1220143004821938176' - '1220143004821938176'
- '1184580976581775366' - '1184580976581775366'

View File

@ -3,6 +3,8 @@ date: "2020-01-26T20:41:55.827Z"
title: "How Gender Dysphoria Manifests: Presentational Dysphoria" title: "How Gender Dysphoria Manifests: Presentational Dysphoria"
description: "Hoodies and sweatpants never go out of style." description: "Hoodies and sweatpants never go out of style."
preBody: '_disclaimer' preBody: '_disclaimer'
classes:
- gdb
tweets: tweets:
- '1215716435068100611' - '1215716435068100611'
- '1215716435974066176' - '1215716435974066176'

View File

@ -3,6 +3,8 @@ date: "2020-01-26T20:41:55.827Z"
title: "How Gender Dysphoria Manifests: Sexual Dysphoria" title: "How Gender Dysphoria Manifests: Sexual Dysphoria"
description: "Sometimes a Cigar doesn't want to be smoked." description: "Sometimes a Cigar doesn't want to be smoked."
preBody: '_disclaimer' preBody: '_disclaimer'
classes:
- gdb
tweets: tweets:
- '1137399651458519040' - '1137399651458519040'

View File

@ -3,6 +3,8 @@ date: "2020-01-26T20:41:55.827Z"
title: "How Gender Dysphoria Manifests: Social Dysphoria" title: "How Gender Dysphoria Manifests: Social Dysphoria"
description: "Pronouns and Deadnames and Gendering, oh my." description: "Pronouns and Deadnames and Gendering, oh my."
preBody: '_disclaimer' preBody: '_disclaimer'
classes:
- gdb
tweets: tweets:
- '1215718003310039040' - '1215718003310039040'
- '1215720411788382210' - '1215720411788382210'

View File

@ -3,6 +3,8 @@ date: "2020-01-26T20:41:55.827Z"
title: "How Gender Dysphoria Manifests: Societal Dysphoria" 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." 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' preBody: '_disclaimer'
classes:
- gdb
tweets: tweets:
- '1201138482569195526' - '1201138482569195526'
- '1216109204093722630' - '1216109204093722630'

View File

@ -3,6 +3,8 @@ date: "2020-01-26T20:41:55.827Z"
title: "Treating Gender Dysphoria" title: "Treating Gender Dysphoria"
description: "Transition is the cure." description: "Transition is the cure."
preBody: '_disclaimer' preBody: '_disclaimer'
classes:
- gdb
--- ---
# How is Gender Dysphoria Treated? # How is Gender Dysphoria Treated?

View File

@ -3,6 +3,8 @@ date: "2020-01-26T20:41:55.827Z"
title: "What is Gender?" title: "What is Gender?"
description: "How do we define the concept of Gender, and how does it differ from Sex?" description: "How do we define the concept of Gender, and how does it differ from Sex?"
preBody: '_disclaimer' preBody: '_disclaimer'
classes:
- gdb
tweets: tweets:
- https://twitter.com/CognitiveSoc/status/1228717614630940672 - https://twitter.com/CognitiveSoc/status/1228717614630940672
--- ---

View File

@ -145,8 +145,8 @@ header {
} }
header + * { @media (min-width: 500px) {
@media (min-width: 500px) { body:not(.front-page) header + * {
margin-top: $header-full-height; margin-top: $header-full-height;
} }
} }

View File

@ -9,6 +9,20 @@ body.page {
&.active { background: white; } &.active { background: white; }
} }
}
body.post {
#body {
max-width: 1200px;
margin-left: auto;
margin-right: auto;
padding: 5px;
}
}
body.gdb {
#body { #body {
background-color: $gutter-bg; background-color: $gutter-bg;
@ -49,8 +63,6 @@ body.page {
} }
} }
}
h1, h2, h3, h4, h5 { a { h1, h2, h3, h4, h5 { a {
color: inherit; color: inherit;
overflow: hidden; overflow: hidden;
@ -100,5 +112,5 @@ body.page {
box-shadow: 0 1px 3px rgba($gray-600, 0.5); box-shadow: 0 1px 3px rgba($gray-600, 0.5);
margin-bottom: 1em; margin-bottom: 1em;
} }
}
} }

View File

@ -17,10 +17,10 @@
{{#if meta.preBody}}{{import meta.preBody}}{{/if}} {{#if meta.preBody}}{{import meta.preBody}}{{/if}}
{{/append}} {{/append}}
{{#content "bodyClass"}}page{{/content}} {{#content "bodyClass"}}{{#each classes}}{{this}} {{/each}}page{{/content}}
{{#content "body"}} {{#content "body"}}
<article class="{{#each classes}}{{this}} {{/each}}markup"> <article class="markup">
<div class="post-content">{{{contents}}}</div> <div class="post-content">{{{contents}}}</div>
</article> </article>
{{/content}} {{/content}}