How to Use Blogging Here

2023-10-01

Welcome to the blogging section! Here you can create and manage your blog posts using markdown files. Follow these steps to get started:

  1. Create a New Blog Entry: Add a new markdown file in the src/lib/blog directory. The file name should follow the format YYYY-MM-DD-title.md.

  2. Add Front Matter: At the top of your markdown file, include the front matter with the title, date, and draft status. For example:

    ---
    title: 'Your Blog Title'
    date: 'YYYY-MM-DD'
    draft: false
    coverImage:
      src: 'blog/3.png'
      width: 80
      height: 600
    ---
  3. Write Your Content: Below the front matter, write your blog content using markdown syntax. You can include headings, paragraphs, lists, images, and more.

  4. Save and Commit: Save your markdown file and commit it to the repository. Your new blog entry will be automatically rendered on the blog page.

Happy blogging!