@baradm100/gatsby-theme-admonation
v1.0.1
Published
> TODO: Create a demo
Downloads
4
Maintainers
Readme
Admonation Gatsby Theme
TODO: Create a demo
admonation is a Gatsby theme for blogging.
Features
Out-of-the-box:
- Fully responsive
- Highly optimized (Lighthouse score ~400)
- SEO optimized (with open graph, Twitter Card, JSON-LD, RSS, robots.txt and sitemap)
- PWA
- Syntax highlighting
- Search functionality
- Multi navigations
- Static pages
- Fully typed with TypeScript
- Tagging
- Theming
- Customizable
See here for details!
Installation
TODO: Create a starter for a quick start! TODO: Create a demo
To use this theme in your Gatsby sites, follow these instructions:
Install the theme
npm install --save @baradm100/gatsby-theme-admonation # or yarn add @baradm100/gatsby-theme-admonation
Add the theme to your
gatsby-config.js
:module.exports = { plugins: [ { resolve: `@baradm100/gatsby-theme-admonation`, options: { // optional theme options // location to our content contentPath: `content`, // the page manifest manifest: { name: `admonation - A Gatsby theme`, short_name: `admonation`, start_url: `/`, background_color: `#a4cbb8`, theme_color: `#a4cbb8`, display: `minimal-ui`, icon: `${__dirname}/assets/logo.png`, }, // if archive pages should be generated automatically loadDefaultPages: true, // posts shown on the front page postsPerPage: 5, }, }, ], };
Before starting your site make sure that the following requirements are fulfilled:
Be sure to have a
content
directory within your Gatsby installationBe sure to have a
tags.yml
file within thecontent
directory with at least one tag, e.g.- name: Uncategorized color: #000 icon: null featured: false
Be sure for your markdown files to include proper frontmatter content, e.g.:
---
title: 'Post title'
path: '/path-to-your-post'
tags: ['Theme']
featuredImage: './cover.jpg'
excerpt: Descriptive description.
created: 2019-07-29
updated: 2019-07-29
---
Finally you can start your site with
gatsby develop
Documentation
TODO
Author
Developed by nehalist.io and modified by Bar Admoni.