don't change page title
This commit is contained in:
parent
2eed080238
commit
568a6556af
@ -68,7 +68,7 @@ function UploadsPage() {
|
|||||||
}
|
}
|
||||||
const ogDescription = `File Name: ${fileDetails.name}, Size: ${sizeDescription}, Owner: ${fileDetails.owner}, Upload Date: ${new Date(fileDetails.uploadDate).toLocaleString()}`;
|
const ogDescription = `File Name: ${fileDetails.name}, Size: ${sizeDescription}, Owner: ${fileDetails.owner}, Upload Date: ${new Date(fileDetails.uploadDate).toLocaleString()}`;
|
||||||
|
|
||||||
document.title = ogTitle;
|
// document.title = ogTitle;
|
||||||
// if meta og tags are not present, create them
|
// if meta og tags are not present, create them
|
||||||
if (!document.querySelector('meta[name="description"]')) {
|
if (!document.querySelector('meta[name="description"]')) {
|
||||||
const metaDescription = document.createElement("meta");
|
const metaDescription = document.createElement("meta");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user