Commit 7c1f2776 authored by Phu Nguyen's avatar Phu Nguyen
Browse files

Use identifier for menu items with children

- So that translations of menu are correct
- Make _index.md translatable as well
- Change a field name (this goes with https://invent.kde.org/websites/hugo-i18n-extractor/commit/3d70fd643fee4ae9300c3af82d765015539e8021)
parent b2a0e40e
......@@ -7,6 +7,7 @@ i18n:
enabled: true
extractContent:
- files:
- content/_index.md
- content/screenshots.md
- content/vision.md
- content/faq.md
......@@ -14,7 +15,7 @@ i18n:
- content/join.md
extractMenu: true
extractStrings: true
importContentSeparatly: true
importContentSeparately: true
languages:
ca:
contentDir: content-trans/ca
......@@ -41,17 +42,19 @@ languages:
languageName: English
menu:
main:
- name: Project
- identifier: project
name: Project
weight: 2
- name: Task Board
parent: Project
parent: project
url: https://phabricator.kde.org/project/view/28/
weight: 3
- name: Documentation
parent: Project
parent: project
url: https://docs.plasma-mobile.org/
weight: 4
- name: Community
- identifier: community
name: Community
weight: 3
title: Plasma Mobile
weight: 1
......
---
layout: blog
title: Plasma Mobile Blog
menu:
main:
weight: 5
name: Blog
---
---
title: Blog
menu:
main:
weight: 5
---
......@@ -2,7 +2,7 @@
title: Contributing
menu:
main:
parent: Community
parent: community
weight: 1
---
......
---
title: Frequently Asked Questions
permalink: /faq/
layout: page
menu:
main:
parent: "Project"
parent: project
weight: 5
name: FAQ
---
......
......@@ -4,7 +4,7 @@ title: Find your way in Plasma Mobile
menu:
main:
weight: 3
parent: Community
parent: community
sassFiles:
- scss/findyourway.scss
---
......
---
title: Join Plasma Mobile
permalink: /join/
konqi: /img/424px-Mascot_konqi-app-internet.png
menu:
main:
parent: Community
parent: community
weight: 2
sassFiles:
- scss/join.scss
......
---
title: Roadmap
permalink: /roadmap/
layout: page
menu:
main:
weight: 6
parent: Project
parent: project
---
This page describes the plan about Plasma Mobile development from a
......
---
title: Screenshots
permalink: /screenshots/
layout: page
screenshots:
......@@ -37,7 +36,7 @@ screenshots:
menu:
main:
parent: "Project"
parent: project
weight: 2
sassFiles:
- scss/screenshots.scss
......
---
layout: page
title: Our Vision
permalink: /vision/
konqi: /img/mascot_20140702_konqui-plasma_wee_0.png
menu:
main:
parent: "Project"
parent: project
weight: 1
name: Vision
---
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment