mirror of
https://github.com/go-task/task.git
synced 2026-06-11 09:51:50 +00:00
fix(website): remove og:* and twitter:* meta tags for now
Since we're not putting the right page title and description, it's not really working as expected. It is currently generating the same title and description for all pages. Removing makes socials at least use the main `<title>` tag, which will be accurate.
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
||||
groupIconVitePlugin
|
||||
} from 'vitepress-plugin-group-icons';
|
||||
import { team } from './team.ts';
|
||||
import { ogUrl, taskDescription, taskName } from './meta.ts';
|
||||
import { taskDescription, taskName } from './meta.ts';
|
||||
import { fileURLToPath, URL } from 'node:url';
|
||||
|
||||
const version = readFileSync(
|
||||
@@ -70,14 +70,6 @@ export default defineConfig({
|
||||
'task runner, build tool, taskfile, yaml build tool, go task runner, make alternative, cross-platform build tool, makefile alternative, automation tool, ci cd pipeline, developer productivity, build automation, command line tool, go binary, yaml configuration'
|
||||
}
|
||||
],
|
||||
['meta', { property: 'og:title', content: taskName }],
|
||||
['meta', { property: 'og:description', content: taskDescription }],
|
||||
['meta', { property: 'og:type', content: 'website' }],
|
||||
['meta', { property: 'og:site_name', content: taskName }],
|
||||
['meta', { property: 'og:url', content: ogUrl }],
|
||||
['meta', { property: 'twitter:card', content: 'summary_large_image' }],
|
||||
['meta', { property: 'twitter:title', content: taskName }],
|
||||
['meta', { property: 'twitter:description', content: taskDescription }],
|
||||
[
|
||||
'script',
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user