docs: add #BLM badge

This commit is contained in:
Matan Kushner 2020-06-02 15:16:03 -04:00
parent 8f01537630
commit a62712d33d
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4
2 changed files with 18 additions and 7 deletions

View File

@ -2,32 +2,32 @@ module.exports = {
locales: {
"/": {
lang: "en-US",
title: "Black Lives Matter",
title: "Starship",
description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!"
},
"/de-DE/": {
lang: "de-DE",
title: "Black Lives Matter",
title: "Starship",
description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!"
},
"/ru-RU/": {
lang: "ru-RU",
title: "Black Lives Matter",
title: "Starship",
description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!"
},
"/ja-JP/": {
lang: "ja-JP",
title: "Black Lives Matter",
title: "Starship",
description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!"
},
"/zh-CN/": {
lang: "zh-CN",
title: "Black Lives Matter",
title: "Starship",
description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!"
},
"/zh-TW/": {
lang: "zh-TW",
title: "Black Lives Matter",
title: "Starship",
description: "The minimal, blazing-fast, and infinitely customizable prompt for any shell!"
}
},
@ -44,6 +44,17 @@ module.exports = {
["meta", { name: "twitter:description", content: "Starship is the minimal, blazing fast, and extremely customizable prompt for any shell! Shows the information you need, while staying sleek and minimal. Quick installation available for Bash, Fish, ZSH, Ion, and Powershell."}],
["meta", { name: "twitter:image", content: "https://starship.rs/icon.png"}],
["meta", { name: "twitter:alt", content: "Starship: Cross-Shell Prompt"}],
// Black Lives Matter
["script", { type:"text/javascript", src:"https://makerbadge.s3.amazonaws.com/blmbadge.js" }],
["script", {}, `BLMBadge.init({
layout:1,
theme:'dark',
promoText : 'Send a donation '+String.fromCodePoint(0x2192),
promoLink : 'https://minnesotafreedomfund.org/',
message : 'To be silent is to be complicit. Black lives matter.',
title : '#BlackLivesMatter'
})`]
],
theme: "default-prefers-color-scheme",
themeConfig: {

View File

@ -1,4 +1,4 @@
html {
body {
filter: grayscale(100%);
}