Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@undataforum/gatsby-theme-profiles-core
Advanced tools
Readme
A Gatsby theme that adds a Profile
interface and MdxProfile
type to Gatsby sites.
Key | Default value | Description |
---|---|---|
basePath | / | Basepath for deployments at path other than root. |
collection | profiles | The collection is added to Profile nodes. It is also part of the path. |
contentPath | content/profiles | Location of profile MDX files and assets. You can organize them in whichever way you want, e.g. place them in sub-directories. |
mdxOtherwiseConfigured | false | Set this flag to true if gatsby-plugin-mdx is already configured for your site. |
Key | Required | Description |
---|---|---|
slug | ✓ | The slug is used to create the path to the generated profile and is used as ID to match profiles to other data types. The slug needs to be unique across collections. |
avatar | ✓ | Relative path to avatar image located in the contentPath . |
honorific | Honorific title, e.g. Her Excellency or His Royal Highness. | |
firstName | ✓ | First name. |
lastName | ✓ | Last name. |
jobtitle | Job title. | |
organization | Organization. | |
description | The default description for SEO purposes is the first paragraph in a profile MDX file. This value overrrides the default. | |
roles | One or more roles that a profile can have. This is a YAML list with role keys as values, e.g. 2020-committee-member or 2018-organizer . |
Profile
interfaceField | Type | Description |
---|---|---|
id | ID! | Use slug instead of Gatsby node GUID. |
collection | String! | Collection to which this profile belongs. |
avatar | File! | If in the future data sources other than MDX are supported, avatar still needs to be of type File! , e.g. downoaded from Contentful to cache. Data sources need to support gatsby-image. |
firstName | String! | Used for sorting profiles. |
lastName | String! | Used for sorting profiles. |
name | String! | Display name. |
honorific | String | From frontmatter. |
jobtitle | String | From frontmatter. |
organization | String | From frontmatter. |
description | String | From frontmatter. |
body | String! | A string representation of the body of the profile page. |
roles | [String!] | A role is an identifier that can be used to lookup a role name. A profile can have more than one role. |
path | String! | Path to generated page. |
Type MdxProfile
implements Profile
. If you prefer to use a data source other
than MDX files, you can write a child theme that implements the Profile
interface.
FAQs
This theme adds a Profile interface and MdXProfile type to Gatsby sites.
The npm package @undataforum/gatsby-theme-profiles-core receives a total of 4 weekly downloads. As such, @undataforum/gatsby-theme-profiles-core popularity was classified as not popular.
We found that @undataforum/gatsby-theme-profiles-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.