From 664c3e8232422039619e3defc77bbd8820888b40 Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 19 Feb 2018 17:01:59 +0100 Subject: [PATCH] Add the list of 71 genders previously implemented on Facebook instead of the 2 that were in the OpenGraph specification. - Add a sub-heading "Gender enum" and an unordered list that spans up to three columns depending on the viewport width. - Refer to the list from the gender property entry. --- base.css | 22 ++++++++++++ content/index.markdown | 79 +++++++++++++++++++++++++++++++++++++++++- 2 files changed, 100 insertions(+), 1 deletion(-) diff --git a/base.css b/base.css index 5ba70df..c0ac17e 100644 --- a/base.css +++ b/base.css @@ -121,3 +121,25 @@ td { color: #666; text-align: left; } +.enum { + -webkit-column-gap: 4rem; + -moz-column-gap: 4rem; + column-gap: 4rem; + -webkit-column-rule: 1px dotted #ddd; + -moz-column-rule: 1px dotted #ddd; + column-rule: 1px dotted #ddd; + } +@media (min-width: 25rem) { + .enum { + -webkit-columns: 2 10rem; + -moz-columns: 2 10rem; + columns: 2 10rem; + } +} +@media (min-width: 39rem) { + .enum { + -webkit-columns: 3 10rem; + -moz-columns: 3 10rem; + columns: 3 10rem; + } +} diff --git a/content/index.markdown b/content/index.markdown index edc0f71..5fe9d12 100644 --- a/content/index.markdown +++ b/content/index.markdown @@ -296,13 +296,90 @@ yet are broadly used and agreed upon. * `profile:first_name` - [string](#string) - A name normally given to an individual by a parent or self-chosen. * `profile:last_name` - [string](#string) - A name inherited from a family or marriage and by which the individual is commonly known. * `profile:username` - [string](#string) - A short unique string to identify them. -* `profile:gender` - [enum](#enum)(male, female) - Their gender. +* `profile:gender` - [enum](#enum)(male, female, other – see the complete [gender enum](#gender_enum) list) - Their gender. `website` - Namespace URI: [`http://ogp.me/ns/website#`](http://ogp.me/ns/website) No additional properties other than the basic ones. Any non-marked up webpage should be treated as `og:type` website. +#### Gender enum + +The following are all the gender types previously identified and implemented on Facebook. You can also opt to leave out the field entirely as these properties are optional anyway. + + --- ## Types