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.
@agney/gatsby-theme-advent
Advanced tools
Readme
A simple and easy advent theme using Gatsby and Styled Components. Write your posts with Markdown.
In your gatsby-config.js
:
npm i @agney/gatsby-theme-advent
# OR #
yarn add @agney/gatsby-theme-advent
You can start using it by adding the following to gatsby-config.js
module.exports = {
plugins: [
{
resolve: `@agney/gatsby-theme-advent`,
options: {
contentPath: "content", // Tell the theme where your markdown files are.
assetPath: "assets", // Tell the there where your cover image is.
basePath: "/december", // Tell the theme which URL to render the theme at.
},
},
],
};
Options | Description | Required | Default |
---|---|---|---|
contentPath | This where markdown files are hosted | false | content |
assetPath | This is where your cover image can be | false | assets |
basePath | This is where URL where the theme is to be rendered | false |
Add markdown files with frontmatter:
---
title: "This is the first advent gift"
date: "2019-12-01T22:12:03.284Z"
published: true
---
The post will be published only if the frontmatter published
is true
.
Create a theme.js
file at src/@agney/gatsby-theme-advent/utils/theme.js
const theme = {};
export default theme;
If you need to keep existing theme and edit some of the values:
import merge from "lodash.merge";
import theme from "@agney/gatsby-theme-advent";
export default merge({}, theme, {
colors: {
primary: "blue",
},
});
This theme makes use of Yarn Workspaces
yarn # Install packages and dependencies
yarn dev
FAQs
A simple and easy advent theme using Gatsby and Styled Components. Write your posts with Markdown.
The npm package @agney/gatsby-theme-advent receives a total of 7 weekly downloads. As such, @agney/gatsby-theme-advent popularity was classified as not popular.
We found that @agney/gatsby-theme-advent 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.