Giter Site home page Giter Site logo

devtobbe / blogoo Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 404 KB

A small blog that uses markdown files to keep track of posts. Made with Next.js. This is just for practicing Front End development and will not be hosted or implemented elsewhere.

JavaScript 73.66% CSS 26.34%
markdown blog

blogoo's Introduction

Blogoo

This is a small blog that uses markdown files to keep track of and add blogposts. Used for practice and might add more advanced funtionality later on once I am more comfortable with Next.js

Markdown formatting

---
Title
Date
---
CONTENT OF THE PAGE

Title

Title is used as the title for the post. This will be displayed on the homepage as a link to the blog page. On the blog page this will be displayed as a heading.

Date

This will display the date that the post was posted. Will displayed as a caption for both the link on the homepage and the heading on the blog.

Content

The content of the page, this applies to both pages.

This is essentially the same format as the Next.js basics tutorial (as of 2021-11-03). It worked well there and as this is sort of a my own take on the tutorial blog. Might add more data to the files at a later point but this will suffice for now.

Notes and Observations

  • grey-matter, can be used to parse metadata of an markdown file. Used to fetch title and date from posts.
  • getStaticProps() can be used to load data on server side that can later be used on client side. Useful when loading files (Markdown blog posts in this case) and then rendering them in the HTML.
  • [slug].js can be used to have an dynamic path, in this case, [slug].js is utilized to generate a path for each seperate blog post.
  • FramerMotion, a library that can be used for doing animations on webpages.

Planned

  • Add Animations to the website
  • Add in app markdown generation (To create blogposts)
  • Add admin login or something similar

blogoo's People

Contributors

devtobbe avatar

Watchers

 avatar

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.