1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-06-22 01:52:24 +00:00

docs: Improve description meta tag for SEO

This commit is contained in:
Matan Kushner 2020-02-02 19:51:45 -05:00
parent 0ff4736729
commit b61034f3fe
No known key found for this signature in database
GPG Key ID: 4B98C3A8949CA8A4
11 changed files with 50 additions and 43 deletions

View File

@ -29,7 +29,6 @@ module.exports = {
// prettier-ignore // prettier-ignore
head: [ head: [
["link", { rel: "icon", href: "/icon.png" }], ["link", { rel: "icon", href: "/icon.png" }],
["meta", { name: "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", { property: "og:title", content: "Starship: Cross-Shell Prompt" }], ["meta", { property: "og:title", content: "Starship: Cross-Shell Prompt" }],
["meta", { property: "og: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", { property: "og: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", { property: "og:type", content: "website" }], ["meta", { property: "og:type", content: "website" }],
@ -117,12 +116,12 @@ module.exports = {
nav: [{ text: "Настройка", link: "/ru-RU/config/" }], nav: [{ text: "Настройка", link: "/ru-RU/config/" }],
// Custom sidebar values // Custom sidebar values
sidebar: [ sidebar: [
"/", "/ru-RU/",
["/guide/", "Руководство"], ["/ru-RU/guide/", "Руководство"],
["/config/", "Настройка"], ["/ru-RU/config/", "Настройка"],
["/advanced-config/", "Расширенная Настройка"], ["/ru-RU/advanced-config/", "Расширенная Настройка"],
["/faq/", "Часто Задаваемые Вопросы"], ["/ru-RU/faq/", "Часто Задаваемые Вопросы"],
["/presets/", "Предустановки"] ["/ru-RU/presets/", "Предустановки"]
] ]
}, },
"/de-DE/": { "/de-DE/": {
@ -136,12 +135,12 @@ module.exports = {
nav: [{ text: "Konfiguration", link: "/config/" }], nav: [{ text: "Konfiguration", link: "/config/" }],
// Custom sidebar values // Custom sidebar values
sidebar: [ sidebar: [
"/", "/de-DE/",
["/guide/", "Anleitung"], ["/de-DE/guide/", "Anleitung"],
["/config/", "Konfiguration"], ["/de-DE/config/", "Konfiguration"],
["/advanced-config/", "Erweiterte Konfiguration"], ["/de-DE/advanced-config/", "Erweiterte Konfiguration"],
["/faq/", "Häufig gestellte Fragen"], ["/de-DE/faq/", "Häufig gestellte Fragen"],
["/presets/", "Konfigurations-Beispiele"] ["/de-DE/presets/", "Konfigurations-Beispiele"]
] ]
} }
} }

View File

@ -11,9 +11,6 @@
margin: 50px 0 margin: 50px 0
border-radius: 6px border-radius: 6px
#main-title
display: none
.hero .hero
margin: 150px 25px 70px margin: 150px 25px 70px

View File

@ -1,25 +1,22 @@
--- ---
home: true home: true
heroImage: /logo.svg heroImage: /logo.svg
heroText: null
tagline: The cross-shell prompt for astronauts
actionText: Get Started → actionText: Get Started →
actionLink: /guide/ actionLink: ./guide/
features:
- title: Compatibility First
details: Works on the most common shells on the most common operating systems. Use it everywhere!
- title: Rust-Powered
details: Brings the best-in-class speed and safety of Rust, to make your prompt as quick and reliable as possible.
- title: Customizable
details: Every little detail is customizable to your liking, to make this prompt as minimal or feature-rich as you'd like it to be.
footer: ISC Licensed | Copyright © 2019-present Starship Contributors footer: ISC Licensed | Copyright © 2019-present Starship Contributors
---
<div class="features"> # Used for the description meta tag, for SEO
<div class="feature"> description: 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.
<h2>Compatibility First</h2> ---
<p>Works on the most common shells on the most common operating systems. Use it everywhere!</p>
</div>
<div class="feature">
<h2>Rust-Powered</h2>
<p>Brings the best-in-class speed and safety of Rust, to make your prompt as quick and reliable as possible.</p>
</div>
<div class="feature">
<h2>Customizable</h2>
<p>Every little detail is customizable to your liking, to make this prompt as minimal or feature-rich as you'd like it to be.</p>
</div>
</div>
<div class="center"> <div class="center">
<video class="demo-video" muted autoplay loop playsinline> <video class="demo-video" muted autoplay loop playsinline>
@ -48,7 +45,7 @@ footer: ISC Licensed | Copyright © 2019-present Starship Contributors
brew install starship brew install starship
``` ```
With [Scoop](https://scoop.sh): With [Scoop](https://scoop.sh):
```powershell ```powershell
scoop install starship scoop install starship

View File

@ -1,8 +1,10 @@
--- ---
home: true home: true
heroImage: /logo.svg heroImage: /logo.svg
heroText: null
tagline: The cross-shell prompt for astronauts
actionText: Loslegen → actionText: Loslegen →
actionLink: /de-DE/guide/ actionLink: ./guide/
footer: ICS lizenziert | Copyright © 2019-heute Starship-Mitwirkende footer: ICS lizenziert | Copyright © 2019-heute Starship-Mitwirkende
--- ---

View File

@ -1,8 +1,10 @@
--- ---
home: true home: true
heroImage: /logo.svg heroImage: /logo.svg
heroText: null
tagline: The cross-shell prompt for astronauts
actionText: Empezar → actionText: Empezar →
actionLink: /guide/ actionLink: ./guide/
footer: Bajo una licencia ISC | Derechos de autor © 2019-presente Colaboradores de Starship footer: Bajo una licencia ISC | Derechos de autor © 2019-presente Colaboradores de Starship
--- ---

View File

@ -1,8 +1,10 @@
--- ---
home: true home: true
heroImage: /logo.svg heroImage: /logo.svg
heroText: null
tagline: The cross-shell prompt for astronauts
actionText: Commencez → actionText: Commencez →
actionLink: /guide/ actionLink: ./guide/
footer: ISC licencié | Copyright © 2019-present Starship Contributors footer: ISC licencié | Copyright © 2019-present Starship Contributors
--- ---

View File

@ -1,8 +1,10 @@
--- ---
home: true home: true
heroImage: /logo.svg heroImage: /logo.svg
heroText: null
tagline: The cross-shell prompt for astronauts
actionText: Get Started → actionText: Get Started →
actionLink: /ja-JP/guide/ actionLink: ./guide/
footer: ISC Licensed | Copyright © 2019-present Starship Contributors footer: ISC Licensed | Copyright © 2019-present Starship Contributors
--- ---

View File

@ -4,9 +4,9 @@
"build": "vuepress build" "build": "vuepress build"
}, },
"devDependencies": { "devDependencies": {
"@vuepress/plugin-google-analytics": "^1.2.0", "@vuepress/plugin-google-analytics": "^1.3.0",
"vuepress": "^1.2.0", "vuepress": "^1.3.0",
"vuepress-theme-default-prefers-color-scheme": "^1.0.3", "vuepress-theme-default-prefers-color-scheme": "^1.0.5",
"vuepress-plugin-sitemap": "^2.3.1" "vuepress-plugin-sitemap": "^2.3.1"
} }
} }

View File

@ -1,8 +1,10 @@
--- ---
home: true home: true
heroImage: /logo.svg heroImage: /logo.svg
heroText: null
tagline: The cross-shell prompt for astronauts
actionText: Начало работы → actionText: Начало работы →
actionLink: /ru-RU/guide/ actionLink: ./guide/
footer: Под лицензией ISC | Авторское право © 2019-настоящее Starship Contributors footer: Под лицензией ISC | Авторское право © 2019-настоящее Starship Contributors
--- ---

View File

@ -1,8 +1,10 @@
--- ---
home: true home: true
heroImage: /logo.svg heroImage: /logo.svg
heroText: null
tagline: The cross-shell prompt for astronauts
actionText: 入门 → actionText: 入门 →
actionLink: /guide/ actionLink: ./guide/
footer: ISC Licensed | Copyright © 2019-present Starship Contributors footer: ISC Licensed | Copyright © 2019-present Starship Contributors
--- ---

View File

@ -1,8 +1,10 @@
--- ---
home: true home: true
heroImage: /logo.svg heroImage: /logo.svg
heroText: null
tagline: The cross-shell prompt for astronauts
actionText: Get Started → actionText: Get Started →
actionLink: /zh-TW/guide/ actionLink: ./guide/
footer: ISC Licensed | Copyright © 2019-present Starship Contributors footer: ISC Licensed | Copyright © 2019-present Starship Contributors
--- ---