Git Product home page Git Product logo

blog's Introduction

Banner

✨ Introduction

This repository contains source code and posts of my blog.

Some features include:

  • GitHub Issues as CMS
  • SEO best practices
  • Dark mode
  • Codeblock syntax highlighting
  • Smaller CSS & JS bundle size

🗃️ GitHub Issues as CMS

It used to be a common practice to include the metadata of a blog post in its frontmatter, such as:

  • title
  • description
  • created time
  • updated time
  • tags
  • ...

However, as the number of posts increases, it becomes tedious and tiresome to remember all of the required properties. And sometimes you may have the nagging feeling that some properties, such as updated time, should have been managed automatically.

There are numerous brilliant CMS on the market to address this issue. (WordPress, Strapi, Payload, ...) However, they either require a server or charge a fee. Besides, rather than having a separate content authoring system, I prefer to keep source code and blog posts colocated.

In this regard, GitHub Issues is unquestionably an excellent solution, as almost every field in the frontmatter can be automatically managed.

GitHub Issue Blog Post
number id
title title
body description
first comment content
other comments comments
open draft
closed published
created at created at
closed at published at
updated at updated at
pin featured
url origin
labels tags

🧰 Built with

Astro Solid TypeScript Tailwind CSS pnpm Vite EditorConfig ESLint Prettier

blog's People

Contributors

mrcaidev avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

qyinvoling

blog's Issues

Web Performance: Images

Images account for nearly twice as much as JavaScript in terms of web performance issues. Fortunately, there are numerous ways to optimize them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.