mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2026-04-19 22:50:14 +00:00
seo/geo
This commit is contained in:
17
layouts/partials/utils/page-description.html
Normal file
17
layouts/partials/utils/page-description.html
Normal file
@@ -0,0 +1,17 @@
|
||||
{{- $description := "" -}}
|
||||
{{- with .Description | plainify | htmlUnescape -}}
|
||||
{{- $description = . | chomp -}}
|
||||
{{- end -}}
|
||||
{{- if $description -}}
|
||||
{{- $description -}}
|
||||
{{- else -}}
|
||||
{{- if .IsHome -}}
|
||||
{{- with .Site.Params.description | plainify | htmlUnescape -}}
|
||||
{{ . | chomp -}}
|
||||
{{- end -}}
|
||||
{{- else if .IsSection -}}
|
||||
{{- partial "utils/section-description-fallback.html" . -}}
|
||||
{{- else -}}
|
||||
{{- .Summary | plainify | htmlUnescape | chomp -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
15
layouts/partials/utils/section-description-fallback.html
Normal file
15
layouts/partials/utils/section-description-fallback.html
Normal file
@@ -0,0 +1,15 @@
|
||||
{{- $templates := dict
|
||||
"en" "%s documentation for RustDesk. Browse installation, configuration, deployment, and troubleshooting guides."
|
||||
"de" "RustDesk-Dokumentation zu %s. Hier finden Sie Anleitungen zur Installation, Konfiguration, Bereitstellung und Fehlerbehebung."
|
||||
"es" "Documentación de RustDesk sobre %s. Consulta guías de instalación, configuración, despliegue y solución de problemas."
|
||||
"fr" "Documentation RustDesk sur %s. Consultez les guides d'installation, de configuration, de déploiement et de dépannage."
|
||||
"it" "Documentazione RustDesk su %s. Consulta le guide per installazione, configurazione, distribuzione e risoluzione dei problemi."
|
||||
"ja" "RustDesk の%sに関するドキュメントです。インストール、設定、展開、トラブルシューティングのガイドを参照できます。"
|
||||
"pl" "Dokumentacja RustDesk dotycząca %s. Zawiera instrukcje instalacji, konfiguracji, wdrażania i rozwiązywania problemów."
|
||||
"pt" "Documentação do RustDesk sobre %s. Consulte guias de instalação, configuração, implantação e solução de problemas."
|
||||
"ro" "Documentație RustDesk pentru %s. Găsiți ghiduri de instalare, configurare, implementare și depanare."
|
||||
"zh-cn" "RustDesk 的%s文档,提供安装、配置、部署和故障排查指南。"
|
||||
"zh-tw" "RustDesk 的%s文檔,提供安裝、設定、部署與疑難排解指南。"
|
||||
-}}
|
||||
{{- $template := or (index $templates .Site.Language.Lang) (index $templates "en") -}}
|
||||
{{- printf $template .Title -}}
|
||||
14
layouts/partials/utils/software-description.html
Normal file
14
layouts/partials/utils/software-description.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{{- $descriptions := dict
|
||||
"en" "Open source remote desktop software and self-hosted remote access platform"
|
||||
"de" "Open-Source-Remote-Desktop-Software und selbst gehostete Plattform für Fernzugriff"
|
||||
"es" "Software de escritorio remoto de código abierto y plataforma de acceso remoto autoalojada"
|
||||
"fr" "Logiciel de bureau à distance open source et plateforme d'accès à distance auto-hébergée"
|
||||
"it" "Software desktop remoto open source e piattaforma di accesso remoto self-hosted"
|
||||
"ja" "オープンソースのリモートデスクトップソフトウェアとセルフホスト型リモートアクセスプラットフォーム"
|
||||
"pl" "Oprogramowanie pulpitu zdalnego open source oraz samodzielnie hostowana platforma zdalnego dostępu"
|
||||
"pt" "Software de desktop remoto de código aberto e plataforma de acesso remoto auto-hospedada"
|
||||
"ro" "Software open source pentru desktop la distanță și platformă self-hosted pentru acces remote"
|
||||
"zh-cn" "开源远程桌面软件和自托管远程访问平台"
|
||||
"zh-tw" "開源遠端桌面軟體與自主託管遠端存取平台"
|
||||
-}}
|
||||
{{- or (index $descriptions .Site.Language.Lang) (index $descriptions "en") -}}
|
||||
Reference in New Issue
Block a user