Skip to content

Commit

Permalink
chore: add sitemap, update keywords, add ssr template
Browse files Browse the repository at this point in the history
  • Loading branch information
olegshilov committed Dec 9, 2024
1 parent 3951ee3 commit dfa9e6f
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 8 deletions.
47 changes: 42 additions & 5 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,17 +120,41 @@ const config = {
},
};
},
[
'@docusaurus/plugin-sitemap',
{
id: 'sitemap',
changefreq: 'weekly',
priority: 0.5,
},
],
],

themeConfig:

/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
metadata: [
{name: 'keywords', content: 'HAQQ, blockchain, ethereum, proof of stake, validator, documentation'},
{name: 'robots', content: 'index, follow'},
{property: 'og:title', content: 'HAQQ Network Documentation - Ethereum Compatible Blockchain Platform'},
{property: 'og:description', content: 'HAQQ is a scalable and interoperable Ethereum blockchain, built on Proof-of-Stake with fast-finality. Explore our comprehensive documentation.'},
{
name: 'keywords',
content:
'HAQQ, blockchain, ethereum, proof of stake, validator, documentation, islamic blockchain',
},
{
name: 'description',
content:
'HAQQ is a scalable and interoperable Ethereum blockchain, built on Proof-of-Stake with fast-finality. Explore our comprehensive documentation.',
},
{ name: 'robots', content: 'index, follow' },
{
property: 'og:title',
content:
'HAQQ Network Documentation - Ethereum Compatible Blockchain Platform',
},
{
property: 'og:description',
content:
'HAQQ is a scalable and interoperable Ethereum blockchain, built on Proof-of-Stake with fast-finality. Explore our comprehensive documentation.',
},
],
// Replace with your project's social card
// image: 'img/haqq-social-card.jpg',
Expand Down Expand Up @@ -242,6 +266,19 @@ const config = {
searchParameters: {},
},
}),

ssrTemplate: `<!DOCTYPE html>
<html <%~ it.htmlAttributes %>>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<%~ it.headTags %>
<%~ it.preBodyTags %>
</head>
<body <%~ it.bodyAttributes %>>
<%~ it.bodyTags %>
</body>
</html>`,
};

module.exports = config;
4 changes: 1 addition & 3 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"rewrites": [
{ "source": "/(.*)", "destination": "/" }
]
"rewrites": [{ "source": "/(.*)", "destination": "/" }]
}

0 comments on commit dfa9e6f

Please sign in to comment.