-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
95 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
+++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |