What's the current status of adding schema.org metadata, such as https://schema.org/SoftwareSourceCode?
Both GitHub and GitLab already expose structured metadata for repositories.
There already appears to be some related code in the repository:
|
type SoftwareSourceCode struct { |
Additionally, it may be useful to include the following meta tag in the HTML output:
<meta name="generator" content="Gitea">
According to the WHATWG HTML specification, the generator meta tag is intended to:
identify the software that generated the page
Finally, it may also be worth removing the keywords meta tag. It has been ignored by most major search engines for many years due to widespread abuse for SEO purposes, so it no longer provides meaningful value.
What's the current status of adding schema.org metadata, such as
https://schema.org/SoftwareSourceCode?Both GitHub and GitLab already expose structured metadata for repositories.
There already appears to be some related code in the repository:
gitea/modules/packages/swift/metadata.go
Line 62 in 6347a33
Additionally, it may be useful to include the following meta tag in the HTML output:
According to the WHATWG HTML specification, the
generatormeta tag is intended to:Finally, it may also be worth removing the
keywordsmeta tag. It has been ignored by most major search engines for many years due to widespread abuse for SEO purposes, so it no longer provides meaningful value.