Skip to content

Commit 6f99740

Browse files
committed
Add simple blog skeleton
Signed-off-by: johnmhoran <[email protected]>
1 parent 831ccdd commit 6f99740

File tree

9 files changed

+53
-132
lines changed

9 files changed

+53
-132
lines changed

website/blog/2019-05-29-long-blog-post.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

website/blog/2021-08-01-mdx-blog-post.mdx

Lines changed: 0 additions & 24 deletions
This file was deleted.
-93.9 KB
Binary file not shown.

website/blog/2021-08-26-welcome/index.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

website/blog/2019-05-28-first-blog-post.md renamed to website/blog/2025-12-23-test-blog-post.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
2-
slug: first-blog-post
3-
title: First Blog Post
4-
authors: [slorber, yangshun]
5-
tags: [hola, docusaurus]
2+
slug: test-blog-post
3+
title: Test Blog Post
4+
authors: [mjherzog]
5+
tags: [hello, docusaurus]
6+
hide_table_of_contents: false
67
---
78

89
Lorem ipsum dolor sit amet...
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
slug: welcome-2025-12-23
3+
title: Welcome
4+
authors: [pombredanne, mjherzog, dmclark]
5+
tags: [docusaurus]
6+
hide_table_of_contents: false
7+
---
8+
9+
Welcome to the Aboutcode.org blog!
10+
11+
Note that
12+
13+
- this post is written in an `index.md` file in its own folder `2025-12-23-welcome` (in which one could also include, e.g., image files)
14+
- other posts are written in stand-alone `.md` files with names like `2025-12-23-test-blog-post.md` (`.mdx` files can also be used)
15+
- both styles have a key-value config. section at the top of the file

website/blog/authors.yml

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
1-
yangshun:
2-
name: Yangshun Tay
3-
title: Ex-Meta Staff Engineer, Co-founder GreatFrontEnd
4-
url: https://linkedin.com/in/yangshun
5-
image_url: https://github.com/yangshun.png
1+
dmclark:
2+
name: Dennis Clark
3+
title: (title)
4+
url: https://www.linkedin.com/in/dennis-clark-03b6a6264/
5+
image_url: https://avatars.githubusercontent.com/u/4991620?v=4
66
page: true
77
socials:
8-
x: yangshunz
9-
linkedin: yangshun
10-
github: yangshun
11-
newsletter: https://www.greatfrontend.com
8+
linkedin: dennis-clark-03b6a6264
9+
github: https://github.com/DennisClark
1210

13-
slorber:
14-
name: Sébastien Lorber
15-
title: Docusaurus maintainer
16-
url: https://sebastienlorber.com
17-
image_url: https://github.com/slorber.png
18-
page:
19-
# customize the url of the author page at /blog/authors/<permalink>
20-
permalink: '/all-sebastien-lorber-articles'
11+
mjherzog:
12+
name: Michael Herzog
13+
title: (title)
14+
url: https://www.linkedin.com/in/michael-herzog-3a350
15+
image_url: https://avatars.githubusercontent.com/u/4853767?v=4
16+
page: true
17+
socials:
18+
linkedin: michael-herzog-3a350
19+
github: mjherzog
20+
21+
pombredanne:
22+
name: Philippe Ombredanne
23+
title: (title)
24+
url: https://www.linkedin.com/in/philippeombredanne
25+
image_url: https://avatars.githubusercontent.com/u/675997?v=4
26+
page: true
2127
socials:
22-
x: sebastienlorber
23-
linkedin: sebastienlorber
24-
github: slorber
25-
newsletter: https://thisweekinreact.com
28+
linkedin: philippeombredanne
29+
github: pombredanne

website/blog/tags.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
facebook:
2-
label: Facebook
3-
permalink: /facebook
4-
description: Facebook tag description
5-
61
hello:
72
label: Hello
83
permalink: /hello
@@ -12,8 +7,3 @@ docusaurus:
127
label: Docusaurus
138
permalink: /docusaurus
149
description: Docusaurus tag description
15-
16-
hola:
17-
label: Hola
18-
permalink: /hola
19-
description: Hola tag description

website/docusaurus.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@ const config = {
7272
// return `https://github.com/johnmhoran/www.aboutcode.org/blob/main/website/docs/${docPath}`;
7373
},
7474
},
75+
blog: {
76+
showReadingTime: true,
77+
blogSidebarTitle: 'All posts',
78+
blogSidebarCount: 'ALL',
79+
blogTitle: 'AboutCode blog!',
80+
},
81+
7582
theme: {
7683
customCss: './src/css/custom.css',
7784
},
@@ -125,6 +132,7 @@ const config = {
125132
position: 'left',
126133
label: 'About',
127134
},
135+
{ to: '/blog', label: 'Blog', position: 'left' },
128136
{
129137
href: 'https://github.com/aboutcode-org',
130138
label: 'GitHub',

0 commit comments

Comments
 (0)