mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
Fix SEO and refactor HTML pages generation
* Split methods in multiple classes * Add JSONLD tags in embed too * Index embeds but use a canonical URL tag (targeting the watch page) * Remote objects don't include a canonical URL tag anymore. Instead we forbid indexation * Canonical URLs now use the official short URL (/w/, /w/p, /a, /c etc.)
This commit is contained in:
parent
e731f4b724
commit
f90db24233
23 changed files with 1876 additions and 1213 deletions
5
server/core/lib/html/shared/index.ts
Normal file
5
server/core/lib/html/shared/index.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
export * from './actor-html.js'
|
||||
export * from './tags-html.js'
|
||||
export * from './page-html.js'
|
||||
export * from './playlist-html.js'
|
||||
export * from './video-html.js'
|
Loading…
Add table
Add a link
Reference in a new issue