Skip to content

Conversation

@Anish-Karthik
Copy link

@Anish-Karthik Anish-Karthik commented Oct 3, 2023

Title :

Fixed meta data on all pages

Issue no :

Meta-Data correction #55
#55

Description

added to all pages meta section

export async function getStaticProps() {
return {
title: 'About Us - TCET Training and Placement Cell',
description: 'Learn more about the TCET Training and Placement Cell, its staff, and how to contact them.'
};
}

Checklist

  • I have read and agree to abide by the Code of Conduct
  • I have read and followed the Contributing Guidelines

@vish-rt vish-rt requested a review from Rahilsiddique October 8, 2023 17:59
---
import Layout from "../layouts/Layout.astro";
export async function serverSideProps() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't it be getStaticProps()

Copy link
Member

@Rahilsiddique Rahilsiddique left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one more thing getStaticProps() is a Next.js funciton try to look for something native to astro
refer this for more info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants