Mirror of https://github.com/roostorg/playground github.com/roostorg/playground
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add social share card

+13 -2
+1
_config.yml
··· 1 1 title: ROOST Community Playground 2 2 description: A collection of community projects, experiments, and demos built on or from ROOST open source projects. 3 3 theme-color: "rgb(238, 238, 0)" 4 + card: /images/card.png 4 5 5 6 mastodon: 6 7 handle: "@roost@hachyderm.io"
+12 -2
_layouts/default.html
··· 8 8 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 9 9 <meta charset="UTF-8"> 10 10 <meta name="theme-color" content="{{ site.theme-color }}" /> 11 + <meta property="og:type" content="website" /> 11 12 12 13 <title>{% if page.title %}{{ page.title }} &sdot; {% endif %}{{ site.title }}</title> 13 - <meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" /> 14 14 <meta property="og:site_name" content="{{ site.title }}" /> 15 + <meta property="og:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" /> 16 + <meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}"> 15 17 <meta itemprop="name" content="{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}" /> 16 18 17 - <link rel="icon" href="images/icon.svg" type="image/svg+xml"> 19 + <meta itemprop="logo" content="{{ '/images/icon.svg' | prepend: site.baseurl | prepend: site.url }}" /> 20 + <link rel="icon" href="{{ '/images/icon.svg' | prepend: site.baseurl | prepend: site.url }}" type="image/svg+xml"> 21 + 22 + <meta property="og:image" content="{{ site.card | prepend: site.baseurl | prepend: site.url | append: '?v=' | append: hash }}" /> 23 + <meta property="og:image:width" content="1920" /> 24 + <meta property="og:image:height" content="960" /> 25 + <meta name="twitter:card" content="summary_large_image"> 26 + <meta name="twitter:image" content="{{ site.card | prepend: site.baseurl | prepend: site.url | append: '?v=' | append: hash }}"> 18 27 19 28 <meta name="description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}" /> 20 29 <meta property="og:description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}" /> 21 30 <meta itemprop="description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}" /> 31 + <meta name="twitter:description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}"> 22 32 23 33 <link rel="me" href="{{ site.mastodon.url }}" /> 24 34 <meta name="fediverse:creator" content="{{ site.mastodon.handle }}" />
images/card.png

This is a binary file and will not be displayed.