Skip to content

Commit 69e1761

Browse files
authored
Set up folder for redirects (#184)
* Set proper redirect system * Remove existing, old redirects. * Add redirect for synchronisation documentation * Translate fall-back redirect link
1 parent 5379dd7 commit 69e1761

File tree

10 files changed

+20
-20
lines changed

10 files changed

+20
-20
lines changed

_i18n/da.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ generic:
1313
contribute: Bidrag
1414
share: Del
1515
error: Fejl
16-
redirect: Omdiriger
16+
redirect:
17+
title: Omdiriger
1718
page-not-found-long: Den ønskede side kunne ikke findes.
1819
accessibility:
1920
lang-menu: Sprogskifter

_i18n/en.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ generic:
1919
learn: "Learn More"
2020
share: "Share"
2121
error: "Error"
22-
redirect: "Redirect"
22+
redirect:
23+
title: "Redirect"
24+
link: "Click here if you are not redirected."
2325
subscribe: "Subscribe"
2426
page-not-found-short: "Page not found"
2527
page-not-found-long: "The requested page could not be found."

_i18n/es.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ generic:
3131
server: 'Introduce la dirección de tu instancia: (ej. https://mastodon.social)'
3232
learn: Aprender más
3333
share: Compartir
34-
redirect: Redirigir
34+
redirect:
35+
title: Redirigir
3536
error: Error
3637
subscribe: Suscribirse
3738
month:

_i18n/fr.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ titles:
1111
generic:
1212
share: Partager
1313
error: Erreur
14-
redirect: Redirection
14+
redirect:
15+
title: Redirection
1516
subscribe: S'abonner
1617
page-not-found-short: Page non trouvée
1718
page-not-found-long: La page demandée n'a pas été trouvée.

_i18n/it.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ generic:
7171
body: Dai un'occhiata a questo articolo
7272
home: Home
7373
download: Download
74-
redirect: Reindirizzamento
74+
redirect:
75+
title: Reindirizzamento
7576
titles:
7677
blog: Blog
7778
contribute: Contribuisci

_i18n/nl.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ generic:
1717
masto-share:
1818
server: 'Voer het adres in van je server: (bijv. https://mastodon.social)'
1919
view: Alles bekijken
20-
redirect: Omleiding
20+
redirect:
21+
title: Omleiding
2122
subscribe: Abonneren
2223
page-not-found-long: De opgevraagde pagina kan niet gevonden worden.
2324
learn: Meer informatie

_layouts/redirect.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
{% include nav.html %}
1111
<div class="container-fluid background-gray-100 py-4">
1212
<div class="container">
13-
<h1 class="color-gray-800 weight-700">{% t generic.redirect %}</h1>
13+
<h1 class="color-gray-800 weight-700">{% t generic.redirect.title %}</h1>
1414
</div>
1515
</div>
1616

@@ -19,7 +19,7 @@ <h1 class="color-gray-800 weight-700">{% t generic.redirect %}</h1>
1919
<div class="row justify-content-center">
2020
<div class="col-lg-12">
2121
<article class="post-content">
22-
This page was moved. <a href="{{ redirect_to }}">Click here if you are not redirected.<a>
22+
<a href="{{ redirect_to }}">{% t generic.redirect.link %}<a>
2323
<script>location='{{ redirect_to }}'</script>
2424
</article>
2525
</div>

designbrief.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

faq.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

s/sync-help.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout: redirect
3+
sitemap: false
4+
redirect_to: /documentation/general/synchronization
5+
---

0 commit comments

Comments
 (0)