0.2.8 ā€¢ Published 4 years ago

gatsby-theme-blogmic v0.2.8

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

Welcome to gatsby-theme-blogmic šŸ‘‹

Version Twitter: 2600hz

Blogmic - Yet another simple blog theme for gatsby using Prismic.io CMS

šŸ  Homepage

Install dependencies

yarn add react-helmet gatsby-source-prismic gatsby-source-filesystem gatsby-plugin-react-helmet gatsby-plugin-sharp gatsby-transformer-sharp gatsby-transformer-remark gatsby-remark-relative-images gatsby-remark-images gatsby-remark-lazy-load gatsby-remark-responsive-iframe gatsby-remark-prismjs gatsby-remark-copy-linked-files gatsby-remark-smartypants prismjs gatsby-image moment prop-types @sekmet/react-structured-data @sindresorhus/slugify

Install theme

yarn add gatsby-theme-blogmic

OR

npm install gatsby-theme-blogmic

Usage

Add your Prismic Access Token as a enviroment variable

GATSBY_CMS_REPO_NAME=`YOUR-REPOSITORY-NAME`
GATSBY_CMS_API_KEY=`YOUR-ACCESS-TOKEN`

Add the plugin options in your gatsby-config.js plugins section.

    plugins: [
        {
            resolve: "gatsby-theme-blogmic",
            options: {
                basePath: "/blog",
                articlePath: false,
                tagPath: '/tag',
                blogTagline: 'My Blogmic Articles',
                readmoreBtnlabel: 'Read more',
                siteMetadata: false,
                metaTitleTpl: 'My Gatsby Blogmic - Open4G Media',
                metaDescriptionTpl: 'Gatsby is a free and open source framework based on React that helps developers build blazing fast websites and apps',
            },
        },
    ],

Author

šŸ‘¤ Carlos Guimaraes

Show your support

Give a ā­ļø if this project helped you!