mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
Add opengraph descriptions
This commit is contained in:
parent
ea7bf1c4f5
commit
059292967e
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Configuration
|
title: Configuration
|
||||||
|
description: Overview of Mastodon's configuration options
|
||||||
menu:
|
menu:
|
||||||
docs:
|
docs:
|
||||||
parent: administration
|
parent: administration
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Installation
|
title: Installation
|
||||||
|
description: How to install Mastodon on an Ubuntu 18.04 server
|
||||||
menu:
|
menu:
|
||||||
docs:
|
docs:
|
||||||
parent: administration
|
parent: administration
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Optional features
|
title: Optional features
|
||||||
|
description: How to enable Mastodon's optional features
|
||||||
menu:
|
menu:
|
||||||
docs:
|
docs:
|
||||||
parent: administration
|
parent: administration
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Post-installation steps
|
title: Post-installation steps
|
||||||
|
description: What to do after the installation of Mastodon is complete
|
||||||
menu:
|
menu:
|
||||||
docs:
|
docs:
|
||||||
parent: administration
|
parent: administration
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Scaling up
|
title: Scaling up
|
||||||
|
description: How to scale Mastodon horizontally to handle more requests
|
||||||
menu:
|
menu:
|
||||||
docs:
|
docs:
|
||||||
parent: administration
|
parent: administration
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Authentication
|
title: Authentication
|
||||||
|
description: How to authenticate with OAuth 2 on Mastodon
|
||||||
menu:
|
menu:
|
||||||
docs:
|
docs:
|
||||||
parent: api
|
parent: api
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Entities
|
title: Entities
|
||||||
|
description: Overview of entities returned from Mastodon's REST API
|
||||||
menu:
|
menu:
|
||||||
docs:
|
docs:
|
||||||
parent: api
|
parent: api
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Permissions
|
title: Permissions
|
||||||
|
description: Overview of OAuth 2 access scopes in Mastodon
|
||||||
menu:
|
menu:
|
||||||
docs:
|
docs:
|
||||||
parent: api
|
parent: api
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Web Push API
|
title: Web Push API
|
||||||
|
overview: How to use the Web Push API in Mastodon to receive push notifications in a native or browser app
|
||||||
menu:
|
menu:
|
||||||
docs:
|
docs:
|
||||||
parent: api
|
parent: api
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Streaming API
|
title: Streaming API
|
||||||
|
description: How to use Mastodon's streaming API for live, real-time updates
|
||||||
menu:
|
menu:
|
||||||
docs:
|
docs:
|
||||||
parent: api
|
parent: api
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Basics
|
title: Basics
|
||||||
|
description: Overview of Mastodon's basic functionality
|
||||||
menu:
|
menu:
|
||||||
docs:
|
docs:
|
||||||
parent: usage
|
parent: usage
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Decentralization
|
title: Decentralization
|
||||||
|
description: How Mastodon is decentralized and what it means in practical terms
|
||||||
menu:
|
menu:
|
||||||
docs:
|
docs:
|
||||||
parent: usage
|
parent: usage
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Moderation
|
title: Moderation
|
||||||
|
description: Overview of moderation tools on Mastodon
|
||||||
menu:
|
menu:
|
||||||
docs:
|
docs:
|
||||||
parent: usage
|
parent: usage
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Privacy
|
title: Privacy
|
||||||
|
overview: Overview of privacy-related features on Mastodon and their implications
|
||||||
menu:
|
menu:
|
||||||
docs:
|
docs:
|
||||||
parent: usage
|
parent: usage
|
||||||
|
@ -4,12 +4,20 @@
|
|||||||
<head>
|
<head>
|
||||||
{{ partial "head" }}
|
{{ partial "head" }}
|
||||||
|
|
||||||
<title>{{ block "title" . }}{{ .Title }} | {{ .Site.Title }}{{ end }}</title>
|
<title>{{ block "title" . }}{{ .Title }} - {{ .Site.Title }}{{ end }}</title>
|
||||||
|
|
||||||
|
<meta property="og:type" content="article">
|
||||||
|
<meta property="og:url" content="{{ .Permalink }}">
|
||||||
|
|
||||||
{{ with .Description }}
|
{{ with .Description }}
|
||||||
<meta name="description" content="{{ . }}">
|
<meta name="description" content="{{ . }}">
|
||||||
|
<meta property="og:description" content="{{ . }}">
|
||||||
|
<meta name="twitter:description" content="{{ . }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
<meta name="twitter:title" content="{{ .Title }}">
|
||||||
|
<meta name="twitter:site" content="@MastodonProject">
|
||||||
|
|
||||||
<link rel="canonical" href="{{ .Permalink }}">
|
<link rel="canonical" href="{{ .Permalink }}">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
{{ define "title"}} {{ .Title}} {{end}}
|
|
||||||
|
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
|
||||||
<ul id="posts">
|
<ul id="posts">
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
{{ define "title"}} {{ .Title}} {{end}}
|
|
||||||
|
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
|
|
||||||
|
@ -7,5 +7,7 @@
|
|||||||
<p>Welcome to the Mastodon documentation!</p>
|
<p>Welcome to the Mastodon documentation!</p>
|
||||||
|
|
||||||
<p>Mastodon is a <strong>free, open-source social network server</strong> based on <strong>open web protocols</strong> like ActivityPub and OStatus. The social focus of the project is a viable decentralized alternative to commercial social media silos that returns the control of the content distribution channels to the people. The technical focus of the project is a good user interface, a clean REST API for 3rd party apps and robust anti-abuse tools.</p>
|
<p>Mastodon is a <strong>free, open-source social network server</strong> based on <strong>open web protocols</strong> like ActivityPub and OStatus. The social focus of the project is a viable decentralized alternative to commercial social media silos that returns the control of the content distribution channels to the people. The technical focus of the project is a good user interface, a clean REST API for 3rd party apps and robust anti-abuse tools.</p>
|
||||||
|
|
||||||
|
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/IPSbNdBmWKE" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user