Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Dec 13, 2023
1 parent 2448a10 commit 23e4714
Show file tree
Hide file tree
Showing 7 changed files with 95 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/paper"]
path = themes/paper
url = https://github.com/nanxiaobei/hugo-paper
Empty file added .hugo_build.lock
Empty file.
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,39 @@
# blog.puzzmo.com

Puzzmo Blog

### How to get started

1. Install [Hugo](https://gohugo.io/getting-started/installing/)

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].md
```

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

```
hugo new posts/$(date +%Y)/$(date +%m)/$(date +%d)/my-post.md
```
6 changes: 6 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
comments = false
+++
12 changes: 12 additions & 0 deletions content/posts/2023/12/13/first.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
+++
title = 'First Post'
date = 2023-12-13T12:56:32Z
draft = true
comments = false
+++

### Hello world!

This blog is the first post of our company blog. We generally want to be writing about our games, Crossword culture and some of the tech decisions we make along the way.

-- ./orta
36 changes: 36 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'Puzzmo Blog'
theme = 'paper'

[params]
# color style
color = 'linen' # linen, wheat, gray, light

# header social icons
twitter = 'puzzmotoday' # twitter.com/YOUR_TWITTER_ID
github = 'puzzmo-com' # github.com/YOUR_GITHUB_ID
instagram = 'puzzmo' # instagram.com/YOUR_INSTAGRAM_ID
# linkedin = 'company/puzzmo' # linkedin.com/in/YOUR_LINKEDIN_ID
# mastodon = 'YOUR_MASTODON_LINK' # e.g. 'https://mastodon.instance/@xxx'
rss = true # show rss icon



# misc
# disableHLJS = true # disable highlight.js
# disablePostNavigation = true # disable post navigation
# monoDarkIcon = true # show monochrome dark mode icon
# gravatarCdn = 'GRAVATAR_CDN_LINK' # e.g. 'https://cdn.v2ex.com/gravatar/'
# graphCommentId = "YOUR_GRAPH_COMMENT_ID" # use graph comment (disqus alternative)
# math = true # enable KaTeX math typesetting globally

# giscus
[params.giscus]
repo = 'puzzmo-com/blog.puzzmo.com' # see https://giscus.app for more details
repoId = 'R_kgDOK5Q10A'
category = 'Blog Posts'
categoryId = 'DIC_kwDOK5Q10M4CbtK1'
mapping = 'pathname'
theme = 'light'
lang = 'en'
1 change: 1 addition & 0 deletions themes/paper
Submodule paper added at 3586c8

0 comments on commit 23e4714

Please sign in to comment.