0.1.0 • Published 4 years ago

gatsby-theme-blog-material-clarisse v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Launch a new blog with Clarisse template. Responsive design and minimalist styling. Suitable for long-form content or personal blog.

Built with Material-UI.

Live demo: https://gatsby-theme-clarisse.netlify.app

✿ Installation

  1. Create a fresh blog from scratch

    Use the Gatsby CLI to create a new blog site, specifying Clarisse template as the starter.

    # create a new Gatsby site using Clarisse starter
    gatsby new my-cool-blog https://github.com/tacogator/gatsby-themes/gatsby-starter-blog-material-clarisse
  2. Start developing.

    Navigate into your new site’s directory and start it up.

    cd my-cool-blog/
    gatsby develop

    Your site is now running at http://localhost:8000!

☕️ Add Clarisse to existing Gatsby project:

Alternatively, you can add Clarisse theme to an existing Gatsby project.

# Install the theme
yarn add @tacogator/gatsby-theme-blog-material-clarisse

Add theme to gatsby-config.js

plugin: [
  ...
  `gatsby-theme-material-clarisse-blog`,
  ...
]

Directory structue

Clarisse theme follows standard Gatsby project structure.

An example blog project:

├── ...
├── static
├── content
    ├── pages    // Static pages
            └── about              
                ├── index.mdx
                └── some-photo.jpg

    └── posts    // One dir per article
            └── article-about-sour-dough-bread   
                ├── index.mdx
                └── sourdough.jpg
|                
├── src
     ├── @tacogator
                 └── gatsby-theme-blog-material-clarisse  
                         ├── components
                                └── theme.js   // Override default theme with your own
     ├── your-own-component.js  
     
                            
└── gatsby-config.js  
  1. /content/pages: This directory contains all of the static pages. One dir per page.

  2. /content/posts: This directory contain all of the ariticles. One dir per article. Put photos in the dir.

  3. /src: (Optional) This directory contains your own custom components or pages. If you wish to override (or "shadow") any Clarisse's components, place them in src/@tacogator/gatsby-theme-blog-material-clarisse. See Gatsby shadowing docs.

  4. /static: Static assets such as branding images and logos.

  5. gatsby-config.js: Gatsby configuration file. This is where you provide information about your site (metadata) like the site title, description, navigation links and branding images.

License

MIT

Support

Follow me on Twitter!