Skip to content

Commit 65bcac7

Browse files
committed
rename layouts
1 parent 9b8c791 commit 65bcac7

24 files changed

+25
-30
lines changed

_ja/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: documentation
2+
layout: landing-page-deprecated
33
title: ドキュメント
44
language: ja
55
partof: documentation

_ja/scala3/guides.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: inner-page-parent
2+
layout: root-index-layout
33
title: Scala 3 のガイド
44
language: ja
55
scala3: true
@@ -36,5 +36,3 @@ guides:
3636
</div>
3737
</div>
3838
</section>
39-
40-

_ja/scala3/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: inner-page-documentation
2+
layout: landing-page
33
title: Documentation for Scala 3
44
language: ja
55
namespace: root
@@ -41,4 +41,4 @@ sections:
4141
description: "Scala 3 の言語仕様"
4242
icon: "fa fa-book"
4343
link: https://docs.scala-lang.org/scala3/reference
44-
---
44+
---

_layouts/inner-page.html renamed to _layouts/basic-index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: inner-page-parent
2+
layout: root-index-layout
33
---
44

55
<section class="full-width">

_layouts/cheatsheet.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: inner-page-parent-dropdown
2+
layout: root-content-layout
33
---
44

55
<section class="full-width">

_layouts/glossary.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: inner-page-parent-dropdown
2+
layout: root-content-layout
33
includeTOC: true
44
---
55

_layouts/documentation.html renamed to _layouts/landing-page-deprecated.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
---
3-
<!-- TODO: This is still used by `/ja/index.html`, we should revert that to use `layout: inner-page-documentation` -->
3+
<!-- TODO: This is still used by `/ja/index.html`, we should revert that to use `layout: landing-page` -->
44
{% include headertop.html %} {% include headerbottom.html %}
55
{% if page.new-version %}<a class="new-version-notice" href="{{ page.new-version }}">This page has a new version.</a>{% endif %}
66

_layouts/inner-page-documentation.html renamed to _layouts/landing-page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: inner-page-parent
2+
layout: root-index-layout
33
---
44

55
<!-- Masthead -->

_layouts/multipage-overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: inner-page-parent-dropdown
2+
layout: root-content-layout
33
includeTOC: true
44
includeCollectionTOC: true
55
---

_layouts/overviews.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: inner-page-parent
2+
layout: root-index-layout
33
---
44

55
{% if page.language %}

_layouts/inner-page-parent-dropdown.html renamed to _layouts/root-content-layout.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{% include headertop.html %}
22
{% include headerbottom.html %}
33

4-
5-
64
<div class="navigation-fade-screen"></div>
75

86
{% include navbar-inner.html %}

_layouts/inner-page-parent.html renamed to _layouts/root-index-layout.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
{% include headertop.html %} {% include headerbottom.html %}
2-
{% if page.new-version %}<a class="new-version-notice" href="{{ page.new-version }}">This page has a new version.</a>{% endif %}
1+
{% include headertop.html %} {% include headerbottom.html %}
32

43
<div class="navigation-fade-screen"></div>
54

_layouts/singlepage-overview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: inner-page-parent-dropdown
2+
layout: root-content-layout
33
includeTOC: true
44
---
55

_layouts/sip.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: inner-page-parent-dropdown
2+
layout: root-content-layout
33
includeTOC: true
44
---
55

_layouts/sips.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: inner-page-parent-dropdown
2+
layout: root-content-layout
33
---
44

55
<section class="content">

_layouts/style-guide.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: inner-page-parent-dropdown
2+
layout: root-content-layout
33
includeCollectionTOC: true
44
includeTOC: true
55
---

_layouts/tour.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: inner-page-parent-dropdown
2+
layout: root-content-layout
33
includeTOC: true
44
includeCollectionTOC: true
55
---

_overviews/contribute/add-guides.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ Once the tutorial is written, to aid user navigation their link must be added to
273273
the metadata of `/tutorials.md`. e.g. it could look like
274274
275275
---
276-
layout: inner-page-parent
276+
layout: root-index-layout
277277
title: Tutorials
278278
279279
tutorials:

_ru/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: inner-page-documentation
2+
layout: landing-page
33
title: Изучаем Scala
44
language: ru
55
partof: documentation
@@ -93,4 +93,4 @@ sections:
9393
description: "От начала до конца: узнайте, как вы можете помочь открытой экосистеме Scala."
9494
icon: "fa fa-code-branch"
9595
link: /contribute/
96-
---
96+
---

_uk/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: inner-page-documentation
2+
layout: landing-page
33
title: Документація
44
language: uk
55
partof: documentation

_zh-cn/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: inner-page-documentation
2+
layout: landing-page
33
language: zh-cn
44
title: 学习 Scala
55
namespace: root

books.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Books
3-
layout: inner-page
3+
layout: basic-index
44
redirect_from:
55
- /documentation/books.html
66
---

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: inner-page-documentation
2+
layout: landing-page
33
languages: [ja, zh-cn, ru, uk]
44

55
title: Learn Scala

tutorials.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: inner-page-parent
2+
layout: root-index-layout
33
title: Tutorials
44

55
tutorials:

0 commit comments

Comments
 (0)