Skip to content

Commit

Permalink
chore: amend og meta improve seo
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayheaven committed Jan 25, 2024
1 parent b7e7259 commit 97f9599
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
14 changes: 13 additions & 1 deletion docs/go-gin-boilerplate/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,20 @@ const config: Config = {
themeConfig: {
// Replace with your project's social card
metadata: [
{ name: "keywords", content: "gin boilerplate go-gin-boilerplate" },
{ name: "title", content: "Go Gin Boilerplate" },
{
name: "description",
content: "A development boilerplate based on the Gin framework",
},
{ name: "keywords", content: "go gin boilerplate go-gin-boilerplate" },

{ property: "og:title", content: "Go Gin Boilerplate" },
{ property: "og:image", content: "img/cover.png" },
{ property: "og:type", content: "Go Gin Boilerplate" },

{ name: "twitter:card", content: "summary" },

// { name: "og:url", content: "https://github.com/sanjayheaven" },
],
image: "img/docusaurus-social-card.jpg",
navbar: {
Expand Down
5 changes: 1 addition & 4 deletions docs/go-gin-boilerplate/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ const features = [
export default function Home(): JSX.Element {
const { siteConfig } = useDocusaurusContext();
return (
<Layout
title={`Hello from ${siteConfig.title}`}
description="A boilerplate for Go Gin Web Framework."
>
<Layout>
<div className=" py-20 bg-gradient-to-tr from-indigo-100 to-white dark:bg-none">
<div className=" px-4 sm:px-10">
<div className=" text-4xl sm:text-5xl font-bold text-center">
Expand Down
Binary file added docs/go-gin-boilerplate/static/img/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 97f9599

Please sign in to comment.