A Starter template to build The Most Minimal Blog with TypeScript & Styled Components.
I tend to pursue minimalism in my daily life. It is one of my philosophy of life to minimize the number of cases and focus on essential parts.
While making this starter, I tried to minimize the design and functionality.
For example, Instead of using the About page, I wanted to focus more on managing my Github profile. therefore I have placed a button in the navigation that takes to Github profile.
Also, rather than manually dividing categories, it is designed to automatically categorize items containing a lot of tags.
In addition, I considered component reusability and tried to keep the logic concise.
- Typography driven design
- Gatsby v4 Supports
- Utterances Supports
- Tags
- Pagination
- SEO
- MDX
.
βββ content
β βββ assets # Images or some stuff for Posting
β βββ blog # Postings (Each Folder name will be url path)
βββ src
β βββ components
β βββ layouts
β βββ hooks # Custom hooks for useStaticQuery (page query in templates)
β βββ images
β βββ pages # default 404 pages (it will updates soon)
β βββ styles
β β βββ media.ts # media query variables(mobile, tablet, laptop) pass to GlobalStyle
β βββ templates
β βββ types
β βββ utils
βββ static
βββ .eslintrc.json
βββ .gitignore
βββ gatsby-config.js
βββ gatsby-node.js # config for pagination & tags
βββ LICENSE
βββ package-lock.json
βββ package.json
βββ README.md
βββ tsconfig.json
Edit the file at src/config.ts
to change the configuration of tags and pagination.
export const POST_PER_PAGE = 1;
export const TAG_SMALL = 1;
export const TAG_MEDIUM = 3;
export const TAG_LARGE = 5;
If you change POST_PER_PAGE
it will changes perPage in pagination.
The tag sizes is classified into three categories, and each standard can be set.