Socket
Book a DemoInstallSign in
Socket

gatsby-theme-blog-ml-core

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-theme-blog-ml-core

This is the theme [Mortar Labs](https://mortar-labs.com) uses to add blog functionality to client sites.

0.0.13
latest
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Gatsby Theme: Blog Mortar Labs

This is the theme Mortar Labs uses to add blog functionality to client sites.

Setup

yarn install gatsby-theme-blog-ml

Quick Setup

// gatsby-config.js
module.exports = {
  plugins: [`gatsby-theme-blog-ml-core`, "gatsby-plugin-netlify-cms"]
};

Options

// gatsby-config.js
plugins[
  {
    resolve: `gatsby-theme-blog-ml-core`,
    options: {
      contentPath: "", // where the posts.mdx will live defaults to `static/posts`
      assetPath: "" // where the imgs (or other assets) will live defaults to `static/images`
    }
  }
];

NetlifyCMS

Check out static/admin/config.yml to see an example NetlifyCMS setup that works with the theme default values.

Component Shadowing

The components and pages are unstyled by design and meant to be shadowed. Check out the src directory to shadow any of the pages/components/templates the theme provides.

src
├── components
│   ├── ...
├── gatsby-theme-blog-ml-core
    ├───components
    ├───── BlogPreview.js
    ├───── ...
    ├── templates
    ├────── post-page.js
    ├────── ...
    └── pages
        └─── blog
             ├── index.js
             ├── ...

Example

See example project for full usage example.

Contribute

Ideas? Issues? Open an issue or a PR!

FAQs

Package last updated on 29 Oct 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.