docs: enable blog in docusaurus, add first wireguard overlay blog post

This commit is contained in:
Pasha Sviderski
2025-08-01 21:45:50 +10:00
parent 37a76809ec
commit cd9c0a1d2c
6 changed files with 539 additions and 22 deletions
+20 -21
View File
@@ -60,22 +60,21 @@ const config = {
showLastUpdateTime: true,
sidebarPath: './sidebars.js',
},
blog: false,
// blog: {
// showReadingTime: true,
// feedOptions: {
// type: ['rss', 'atom'],
// xslt: true,
// },
// // Please change this to your repo.
// // Remove this to remove the "edit this page" links.
// // editUrl:
// // 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
// // Useful options to enforce blogging best practices
// onInlineTags: 'warn',
// onInlineAuthors: 'warn',
// onUntruncatedBlogPosts: 'warn',
// },
blog: {
showReadingTime: true,
feedOptions: {
type: ['rss', 'atom'],
xslt: true,
},
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
// editUrl:
// 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
// Useful options to enforce blogging best practices
onInlineTags: 'warn',
onInlineAuthors: 'warn',
onUntruncatedBlogPosts: 'warn',
},
theme: {
customCss: './src/css/custom.css',
},
@@ -110,11 +109,11 @@ const config = {
label: 'Docs',
position: 'left',
},
// {
// to: 'blog',
// label: 'Blog',
// position: 'left',
// },
{
to: 'blog',
label: 'Blog',
position: 'left',
},
{
type: 'search',
position: 'right',