Skip to content

Commit 97b08e7

Browse files
committed
🧹 Update boilerplate configuration and remove blog sections
1 parent 69439da commit 97b08e7

File tree

8 files changed

+48
-216
lines changed

8 files changed

+48
-216
lines changed

‎blog/2019-05-28-first-blog-post.md‎

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

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

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

‎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.

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

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

‎blog/authors.yml‎

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

‎blog/tags.yml‎

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

‎docusaurus.config.js‎

Lines changed: 48 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ import {themes as prismThemes} from 'prism-react-renderer';
88

99
/** @type {import('@docusaurus/types').Config} */
1010
const config = {
11-
title: 'My Site',
12-
tagline: 'Dinosaurs are cool',
11+
title: 'Hackney Development System',
12+
tagline: 'Everything you need to build and maintain Hackney platforms and services.',
1313
favicon: 'img/favicon.ico',
1414

1515
// Set the production url of your site here
16-
url: 'https://your-docusaurus-site.example.com',
16+
url: 'https://playbook.hackney.gov.uk',
1717
// Set the /<baseUrl>/ pathname under which your site is served
1818
// For GitHub pages deployment, it is often '/<projectName>/'
1919
baseUrl: '/',
2020

2121
// GitHub pages deployment config.
2222
// If you aren't using GitHub pages, you don't need these.
23-
organizationName: 'facebook', // Usually your GitHub org/user name.
24-
projectName: 'docusaurus', // Usually your repo name.
23+
organizationName: 'LBHackney-IT', // Usually your GitHub org/user name.
24+
projectName: 'lbhackney-it.github.io', // Usually your repo name.
2525

2626
onBrokenLinks: 'throw',
2727
onBrokenMarkdownLinks: 'warn',
@@ -44,23 +44,23 @@ const config = {
4444
// Please change this to your repo.
4545
// Remove this to remove the "edit this page" links.
4646
editUrl:
47-
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
48-
},
49-
blog: {
50-
showReadingTime: true,
51-
feedOptions: {
52-
type: ['rss', 'atom'],
53-
xslt: true,
54-
},
55-
// Please change this to your repo.
56-
// Remove this to remove the "edit this page" links.
57-
editUrl:
58-
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
59-
// Useful options to enforce blogging best practices
60-
onInlineTags: 'warn',
61-
onInlineAuthors: 'warn',
62-
onUntruncatedBlogPosts: 'warn',
47+
'https://github.com/LBHackney-IT/lbhackney-it.github.io/tree/main/packages/create-docusaurus/templates/shared/',
6348
},
49+
// blog: {
50+
// showReadingTime: true,
51+
// feedOptions: {
52+
// type: ['rss', 'atom'],
53+
// xslt: true,
54+
// },
55+
// // Please change this to your repo.
56+
// // Remove this to remove the "edit this page" links.
57+
// editUrl:
58+
// 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
59+
// // Useful options to enforce blogging best practices
60+
// onInlineTags: 'warn',
61+
// onInlineAuthors: 'warn',
62+
// onUntruncatedBlogPosts: 'warn',
63+
// },
6464
theme: {
6565
customCss: './src/css/custom.css',
6666
},
@@ -86,58 +86,41 @@ const config = {
8686
position: 'left',
8787
label: 'Tutorial',
8888
},
89-
{to: '/blog', label: 'Blog', position: 'left'},
89+
// {to: '/blog', label: 'Blog', position: 'left'},
9090
{
91-
href: 'https://github.com/facebook/docusaurus',
91+
href: 'https://github.com/LBHackney-IT/lbhackney-it.github.io',
9292
label: 'GitHub',
9393
position: 'right',
9494
},
9595
],
9696
},
9797
footer: {
9898
style: 'dark',
99-
links: [
100-
{
101-
title: 'Docs',
102-
items: [
103-
{
104-
label: 'Tutorial',
105-
to: '/docs/intro',
106-
},
107-
],
108-
},
109-
{
110-
title: 'Community',
111-
items: [
112-
{
113-
label: 'Stack Overflow',
114-
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
115-
},
116-
{
117-
label: 'Discord',
118-
href: 'https://discordapp.com/invite/docusaurus',
119-
},
120-
{
121-
label: 'Twitter',
122-
href: 'https://twitter.com/docusaurus',
123-
},
124-
],
125-
},
126-
{
127-
title: 'More',
128-
items: [
129-
{
130-
label: 'Blog',
131-
to: '/blog',
132-
},
133-
{
134-
label: 'GitHub',
135-
href: 'https://github.com/facebook/docusaurus',
136-
},
137-
],
138-
},
139-
],
140-
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
99+
// links: [
100+
// {
101+
// title: 'Docs',
102+
// items: [
103+
// {
104+
// label: 'Tutorial',
105+
// to: '/docs/intro',
106+
// },
107+
// ],
108+
// },
109+
// {
110+
// title: 'More',
111+
// items: [
112+
// // {
113+
// // label: 'Blog',
114+
// // to: '/blog',
115+
// // },
116+
// {
117+
// label: 'GitHub',
118+
// href: 'https://github.com/LBHackney-IT',
119+
// },
120+
// ],
121+
// },
122+
// ],
123+
copyright: `Copyright © ${new Date().getFullYear()} London Borough of Hackney Council. The data published here is free to re-use under the <a href="https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/">Open Government Licence</a>.`,
141124
},
142125
prism: {
143126
theme: prismThemes.github,

0 commit comments

Comments
 (0)