Skip to content

chrisryanouellette/omlette-blog

Repository files navigation

The Omlette Blog

A blog built with Next.JS where Omlette's can write about their journeys.

Blogging - Getting Started

This section covers how to create a new blog post.

  1. Open a new terminal and run.

    yarn dev

  2. Open http://localhost:3000/ in your browser.

  3. Create a new folder in the src/posts directory with the short name of the blog post.

    Ex, src/posts/my-first-post

  4. Create a file inside that folder called page.1.md. MDX is also supported.

  5. Add the following metadata to the top of the page.1 file.

     ---
     title: ""
     date: "00/00/0000"
     summary: ""
     image: "/"
     alt: ""
     ---
    
  6. You can then begin writing the blog post.

  7. For multi page blogs, create a new file called page.X.md where the X is the page number.

  8. Other pages just need the title in the metadata.

    ---
    title: ""
    ---
    

About

A blog for Omlettes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published