Minimalistic Gatsby theme, mobile and SEO friendly and supports author, tag and static pages.
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. websitesnetlify.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 postsnavigation
links shown in header of websitemodule.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 postdate
*: The creation date of the markdown fileslug
*: Url of the postdraft
*: Accepts true/false
as value for visibility of the posttags
*: Add tag_id
of different tags in yaml
formatauthor
*: Add author_id
of authorcomment
*: To show comment on the page bottomfeature_image
*: The URL of the image shown at the top of the articlecreated_at
*: Date of the creation of the post (same as date above)published_at
*: The date of the publishing of the postupdated_at
*: The date of the updating of the postNote: 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 tagsname
*: Name as shown on posts if addedslug
*: Url of the tag pagedescription
: Description shown on the tag pages before the list of postssrc/authors
directory.author_id
*: The id which is mapped with post's author namename
*: Name as shown on posts if addedslug
*: Url of the author pageprofile_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 poststwitter
: Username of the Twitter for author pagefacebook
: Username of the Facebook for author pagewebsite
: URL of the personal website of the authorsrc/pages
directory.title
*: The title shown at the top of the pagedate
*: Date of creation of the pagedraft
*: Decides if the page is to be shown to public, can have true/false valueslug
*: URL of the pagecreated_at
*: Date of the creation of the page (same as date above)published_at
*: The date of the publishing of the pageupdated_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