diff --git a/src/_includes/components/avatar.html b/src/_includes/components/avatar.html index c912f597ff..04772eda45 100644 --- a/src/_includes/components/avatar.html +++ b/src/_includes/components/avatar.html @@ -1,4 +1,4 @@ -{% assign contributor = page.contributors | first %} +{% assign contributor = include.contributors | first %} {% assign day = contributor.date | date: "%-d" %} {% if contributor %} diff --git a/src/_includes/components/media-icon.html b/src/_includes/components/media-icon.html index 9c89de95e5..18279debb0 100644 --- a/src/_includes/components/media-icon.html +++ b/src/_includes/components/media-icon.html @@ -1,7 +1,9 @@
+ {% if page.faq %} +**Field** | -**Type** | -**Description** | -
---|
**Trait** | -**Type** | -**Description** | -
---|---|---|
`address` | -Object | -Street address of a user optionally containing: `city`, `country`, `postalCode`, `state` or `street` | -
`age` | -Number | -Age of a user | -
`avatar` | -String | -URL to an avatar image for the user | -
`birthday` | -Date | -User's birthday | -
`company` | -Object | -Company the user represents, optionally containing: `name` (a String), `id` (a String or Number), `industry` (a String), `employee_count` (a Number) or `plan` (a String) | -
`createdAt` | -Date | -Date the user's account was first created
- We recommend [ISO-8601](http://en.wikipedia.org/wiki/ISO_8601) date strings. |
-
`description` | -String | -Description of the user | -
`email` | -String | -Email address of a user | -
`firstName` | -String | -First name of a user | -
`gender` | -String | -Gender of a user | -
`id` | -String | -Unique ID in your database for a user | -
`lastName` | -String | -Last name of a user | -
`name` | -String | -Full name of a user
- If you only pass a first and last name we'll automatically fill in the full name for you. - |
-
`phone` | -String | -Phone number of a user | -
`title` | -String | -Title of a user, usually related to their position at a specific company
- Example: "VP of Engineering" - |
-
`username` | -String | -User's username
- This should be unique to each user, like the usernames of Twitter or GitHub. |
-
`website` | -String | -Website of a user | -