Haroenv / blog.puzzmo.com

Puzzmo Blog

Home Page:https://blog-puzzmo-com-staging.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blog.puzzmo.com

Puzzmo Blog

How to get started

  1. Install Hugo

    On a Mac with Homebrew, you can run brew install hugo.

  2. Clone this repo

    git clone https://github.com/puzzmo-com/blog.puzzmo.com
    cd blog.puzzmo.com
  3. Run the server

    hugo server
  4. Open the site in your browser: http://localhost:1313/

How to make a new post

Use the CLI:

hugo new posts/[year]/[month]/[day]/[post name]/index.md

A C&P example which does the dates for you:

hugo new posts/$(date +%Y)/$(date +%m)/$(date +%d)/my-post/index.md

Then just change my-post to be a cool URL!

How do we handle separate sections?

Right now, via tags:

+++
title = 'How the Puzzmo API handles integrations on a per-game basis'
date = 2024-04-08T12:00:32Z
authors = ["orta"]
tags = ["tech", "api", "plugins"]
theme = "outlook-hayesy-beta"
+++

This post would appear in 3 sections: tech, api and plugins. Which have their own url: https://blog.puzzmo.com/tags/tech/

This blog

It uses Hugo as a static site generator, it was chosen because it is is simple to install and run locally and shouldn't break over a very long time period (the Artsy blog I used to write on once or twice a month was Jekyll and required a lot of custom work to get useful features but those eventually started slowing the system down and getting ruby set up is a pain).

About

Puzzmo Blog

https://blog-puzzmo-com-staging.vercel.app

License:MIT License


Languages

Language:CSS 72.0%Language:HTML 26.0%Language:TypeScript 1.0%Language:JavaScript 1.0%