Minimalistic Gatsby theme, mobile and SEO friendly and supports author, tag and static pages
gatsby new gatsby-blog akanshgulati/gatsby-theme-ghost
This will generate a new site (with the folder name "gatsby-blog") that pre-configures use of the theme including example content.
meta-tags
added for sharing posts and website over Facebook, Twitter, Instagram, etc. websites netlify.toml
for deploying on Netlify directly. yarn dev
8000
portlocalhost:8000/__graphql
pathChange the website configuration at utils/siteConfig.js
file.
Disqus
short name for enabling comments on posts navigation
links shown in header of website module.exports = {
siteUrl: `https://gatsby-theme-ghost.netlify.com`, // Site domain. Do not include a trailing slash!
postsPerPage: 12, // Number of posts shown on paginated pages (changes this requires sometimes to delete the cache)
siteTitleMeta: `Gatsby Theme Ghost`, // This allows an alternative site title for meta data for pages.
siteDescriptionMeta: `Minimalistic Gatsby theme for blogs`, // This allows an alternative site description for meta data for pages.
siteTwitterHandle: `@akanshgulati`,
siteFacebookHandle: `akanshgulati`,
language: `en`
// ...
src/posts
directory, having a markdown file (.md extension) title
*: The title of the post date
*: The creation date of the markdown file slug
*: Url of the post draft
*: Accepts true/false
as value for visibility of the post tags
*: Add tag_id
of different tags in yaml
format author
*: Add author_id
of author comment
*: To show comment on the page bottom feature_image
*: The URL of the image shown at the top of the article created_at
*: Date of the creation of the post (same as date above) published_at
*: The date of the publishing of the post updated_at
*: The date of the updating of the post Note: Create all tags and authors markdown files before adding it in post.
src/tags
directory. tag_id
*: The id which is mapped with post's tags name
*: Name as shown on posts if added slug
*: Url of the tag page description
: Description shown on the tag pages before the list of posts src/authors
directory. author_id
*: The id which is mapped with post's author name name
*: Name as shown on posts if added slug
*: Url of the author page profile_image
*: Url of the author image for each post on home page and author page. description
: Description shown on the author pages before the list of posts twitter
: Username of the Twitter for author page facebook
: Username of the Facebook for author page website
: URL of the personal website of the author src/pages
directory. title
*: The title shown at the top of the page date
*: Date of creation of the page draft
*: Decides if the page is to be shown to public, can have true/false value slug
*: URL of the page created_at
*: Date of the creation of the page (same as date above) published_at
*: The date of the publishing of the page updated_at
*: The date of the updating of the page *Required**
.
├── plugins
│ └── gatsby-plugin-ghost-manifest
├── public
├── src
│ ├── authors
│ │ ├── akansh.md
│ ├── pages
│ │ └── about
│ ├── posts
│ │ ├── best-practises-to-select-cdn
│ │ ├── ...
│ │ └── ...
│ ├── tags
│ │ ├── javascript.md
│ ├── components
│ │ └── common
│ │ └── meta
│ ├── styles
│ ├── templates
│ └── utils
│ └── rss
└── static