Skip to content

Commit

Permalink
feat(micronews): minimally prepare for incoming micronews content
Browse files Browse the repository at this point in the history
Theme is probably too heavyweight right now (micronews articles are not
intended to have contents), but at least the site structure is now able
to accommodate all the historical data.
  • Loading branch information
xen0n committed Jul 21, 2023
1 parent e3460a8 commit b1fcde8
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,14 @@ const config = {
path: './newsletter',
},
],
[
'@docusaurus/plugin-content-blog',
{
id: 'blog-micronews',
routeBasePath: 'micronews',
path: './micronews',
},
],
],

presets: [
Expand Down Expand Up @@ -138,6 +146,7 @@ const config = {
},
// {to: '/asmdb', label: '汇编指令速查', position: 'left'},
{to: '/newsletter', label: '每周一龙', position: 'left'},
{to: '/micronews', label: '狗剩微闻', position: 'left'},
{to: '/blog', label: '本站动态', position: 'left'},
{
href: 'https://github.com/loongson-community/areweloongyet',
Expand All @@ -156,6 +165,10 @@ const config = {
label: '每周一龙',
to: '/newsletter',
},
{
label: '狗剩微闻',
to: '/micronews',
},
{
label: '本站动态',
to: '/blog',
Expand Down
14 changes: 14 additions & 0 deletions micronews/2023-07-20-new-home-for-micronews.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
slug: new-home-for-micronews
title: 《狗剩微闻》与《咱龙了吗?》正式合并
authors: [xen0n]
tags: [announcement]
---

[《狗剩微闻》][micronews]是 blah blah。
由于 blah blah 的原因,《狗剩微闻》与本站的维护者们商议后决定合并两个项目。
blah blah blah

TODO: 把通稿写完,标题也最好改改

[micronews]: https://github.com/loongson-community/micronews
1 change: 1 addition & 0 deletions micronews/authors.yml

0 comments on commit b1fcde8

Please sign in to comment.