# gatsby-theme-blog-ml-core

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

Latest version **0.0.13** (published 2019-10-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install gatsby-theme-blog-ml-core
pnpm add gatsby-theme-blog-ml-core
yarn add gatsby-theme-blog-ml-core
bun add gatsby-theme-blog-ml-core
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.13 |
| Published | 2019-10-29 |
| First published | 2019-10-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 13 |
| Unpacked size | 16.3 KB |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| Author | franklintarter |
| Maintainers | franklintarter |

## Links

- npm: https://www.npmjs.com/package/gatsby-theme-blog-ml-core
- npm.io page: https://npm.io/package/gatsby-theme-blog-ml-core

## Dependencies (13)

- [lodash](https://npm.io/package/lodash.md) ^4.17.15
- [@mdx-js/mdx](https://npm.io/package/@mdx-js/mdx.md) ^1.4.5
- [remark-slug](https://npm.io/package/remark-slug.md) ^5.1.2
- [gatsby-image](https://npm.io/package/gatsby-image.md) ^2.2.24
- [gatsby-plugin-mdx](https://npm.io/package/gatsby-plugin-mdx.md) ^1.0.43
- [gatsby-plugin-sharp](https://npm.io/package/gatsby-plugin-sharp.md) ^2.2.25
- [gatsby-remark-images](https://npm.io/package/gatsby-remark-images.md) ^3.1.23
- [gatsby-source-filesystem](https://npm.io/package/gatsby-source-filesystem.md) ^2.1.26
- [gatsby-transformer-sharp](https://npm.io/package/gatsby-transformer-sharp.md) ^2.2.16
- [gatsby-remark-smartypants](https://npm.io/package/gatsby-remark-smartypants.md) ^2.1.9
- [gatsby-remark-relative-images](https://npm.io/package/gatsby-remark-relative-images.md) ^0.2.3
- [gatsby-plugin-netlify-cms-paths](https://npm.io/package/gatsby-plugin-netlify-cms-paths.md) ^1.3.0
- [gatsby-remark-copy-linked-files](https://npm.io/package/gatsby-remark-copy-linked-files.md) ^2.1.20

## Recent versions

- 0.0.13 (latest) — 2019-10-29
- 0.0.12 — 2019-10-27
- 0.0.11 — 2019-10-27
- 0.0.10 — 2019-10-26
- 0.0.9 — 2019-10-26
- 0.0.8 — 2019-10-16
- 0.0.7 — 2019-10-11
- 0.0.6 — 2019-10-09
- 0.0.5 — 2019-10-07
- 0.0.4 — 2019-10-07
- 0.0.3 — 2019-10-07
- 0.0.2 — 2019-10-07
- 0.0.1 — 2019-10-07

## README

# Gatsby Theme: Blog Mortar Labs

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

## Setup

```bash
yarn install gatsby-theme-blog-ml
```

### Quick Setup

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

### Options

```js
// 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](https://github.com/franklintarter/gatsby-theme-blog-ml/tree/master/example) 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](https://github.com/franklintarter/gatsby-theme-blog-ml/tree/master/gatsby-theme-blog-ml-core/src) directory to shadow any of the pages/components/templates the theme provides.

```txt:title="gatsby-theme-blog-ml-core"
src
├── components
│   ├── ...
├── gatsby-theme-blog-ml-core
    ├───components
    ├───── BlogPreview.js
    ├───── ...
    ├── templates
    ├────── post-page.js
    ├────── ...
    └── pages
        └─── blog
             ├── index.js
             ├── ...
```

### Example

See [example project](https://github.com/franklintarter/gatsby-theme-blog-ml/tree/master/example) for full usage example.

## Contribute

Ideas? Issues? Open an issue or a PR!

---
_Source: https://npm.io/package/gatsby-theme-blog-ml-core · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
