Add forem meta tags (#10747)

* Add forem meta tags

* Add docs

* Update docs/technical-overview/compatibility.md

Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>

* Update docs/technical-overview/compatibility.md

Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>

* Update docs/technical-overview/compatibility.md

Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>

* Update docs/technical-overview/compatibility.md

Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>
This commit is contained in:
Ben Halpern 2020-10-09 14:13:14 -04:00 committed by GitHub
parent 37b40c9b04
commit 8e9aeffd78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 0 deletions

View file

@ -46,6 +46,10 @@
<meta name="theme-color" content="#000000" />
<link rel="manifest" href="/manifest.json" />
<link rel="search" href="<%= URL.url("open-search.xml") %>" type="application/opensearchdescription+xml" title="<%= community_qualified_name %>" />
<meta property="forem:name" content="<%= community_name %>" />
<meta property="forem:logo" content="<%= optimized_image_url(SiteConfig.logo_png, width: 512, fetch_format: "png") %>" />
<meta property="forem:domain" content="<%= SiteConfig.app_domain %>" />
<% end %>
</head>
<% unless internal_navigation? %>

View file

@ -0,0 +1,22 @@
# Compatibility
To go along with effective administration and putting user security and well-being first, for a Forem to be most useful, it maximizes its technical compatibility.
Compatability means:
- Staying updated. We need to maintain overall compatability by keeping the ecosystem close to the latest version as proactively as we can.
- Maintaining all programmatic interfaces, whether they be the [API](https://api.forem.com) or Forem meta tags which can be consumed for Forem validation.
- Maintaining human interfaces which allow users to find where they need to go and conduct all necessary customizations.
- Maintaining great performance such that the web-based Forem ecosystem can provide a great experience in all network conditions and in comparison to more closed ecosystems.
## Meta tags
The canonical meta tags which are expected to be present as a component of validation are as follows:
```html
<meta property="forem:name" content="My great friends" />
<meta property="forem:logo" content="https://mygreatfriends.com/logo.png" />
<meta property="forem:domain" content="mygreatfriends.com" />
```
This list may evolve over time. If you want to propose a new meta tag which could improve the efficacy of an ecosystem app, please feel free to open an issue or a discussion on [forem.dev](https://forem.dev).

View file

@ -3,6 +3,7 @@ items:
- stack.md
- architecture.md
- feed.md
- compatibility.md
---
# Technical Overview