Skip to content

Commit

Permalink
updated the structure based on the feedback of Losia and Alex
Browse files Browse the repository at this point in the history
  • Loading branch information
marton-balazs-kovacs committed Mar 12, 2024
1 parent cd696ea commit 2dbbda6
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 36 deletions.
10 changes: 10 additions & 0 deletions content/projects/translation/completed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: List of completed translations
description: A list of completed translations
order: 1
layout: "translation/single"
---

The following is a comprihensive list of already completed translations.

{{< translationList >}}
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: List of Translations
description: A comprehensive list of available and ongoing translations.
order: 1
layout: "translation/translationslist"
title: Translations in progress
description: A comprehensive list of available and ongoing translations and their status.
order: 3
layout: "translation/single"
---

<!-- | Language | Translation Status | Github status | Help needed?
| Language | Translation Status | Github status | Help needed?
| ------------- | ------------- | ------------- | -------------
| Hungarian | Completed | Completed | No
| German | Completed | Completed |
Expand All @@ -30,4 +30,4 @@ layout: "translation/translationslist"
| Turkish | Not started - 1 volunteer
| Persian | Not started - 1 volunteer
| Dutch | Not started - Eli Thoré
| Swedish | Not started - , Eli Thoré? -->
| Swedish | Not started - , Eli Thoré?
Empty file.
12 changes: 12 additions & 0 deletions layouts/partials/translationList.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<ul>
{{ range .Site.RegularPages }}
{{ if strings.HasPrefix .File.Path "projects/translation/translations/" }}
<li style="list-style: none;">
<a href="{{ .Permalink }}">
<h2 class="project-name">{{ .Params.language }}</h2>
</a>
</li>
<br>
{{ end }}
{{ end }}
</ul>
30 changes: 0 additions & 30 deletions layouts/projects/translation/translationslist.html

This file was deleted.

1 change: 1 addition & 0 deletions layouts/shortcodes/translationList.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ partial "translationList.html" . }}

0 comments on commit 2dbbda6

Please sign in to comment.