Skip to content

Commit ea56f62

Browse files
committed
Move page title into the template and add translation menu
1 parent 36d0cdc commit ea56f62

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

_layouts/default.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,14 @@
1010
</head>
1111
<body>
1212
<div class="container-lg px-3 my-5 markdown-body">
13-
{% if site.title and site.title != page.title %}
14-
<h1><a href="{{ "/" | absolute_url }}">{{ site.title }}</a></h1>
15-
{% endif %}
16-
13+
<h1>{{ page.title }}</h1>
14+
<div style="text-align: center; font-size: smaller; padding-bottom: 0.5em; margin-bottom: 0.5em; border-bottom: 1px solid lightgray;">
15+
<a href="/">English</a>
16+
|
17+
<a href="/fr/">French</a>
18+
|
19+
<a href="/tr/">Turkish</a>
20+
</div>
1721
{{ content }}
1822
</div>
1923
</body>

_sass/primer-markdown/lib/headings.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
}
3636

3737
h1 {
38-
padding-bottom: 0.3em;
38+
XXpadding-bottom: 0.3em;
3939
font-size: 2em;
40-
border-bottom: 1px solid lighten($gray-200, 3%);
40+
XXXborder-bottom: 1px solid lighten($gray-200, 3%);
4141
}
4242

4343
h2 {

index-fr.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ permalink: /fr/
55
description: "Plaidoyer pour Android en tant que plateforme libre et ouverte permettant à tous de développer des applications."
66
---
77

8-
# Keep Android Open
9-
108
En août 2025, Google a [annoncé](https://developer.android.com/developer-verification) que, dès l'année suivante,
119
il ne sera plus possible de développer des applications pour la plateforme Android
1210
sans s'être préalablement enregistré auprès de Google.

index-tr.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ permalink: /tr/
55
description: "Android'in herkesin üzerinde uygulama geliştirebileceği özgür, açık bir platform olmasını savunuyoruz."
66
---
77

8-
# Android Açık Kalsın
9-
108
Ağustos 2025 tarihinde Google, gelecek seneden itibaren önceden
119
ile merkezi kayıt yaptırılmadan Android platformu için uygulama
1210
geliştirmenin mümkün olmayacağını beyan etmiştir.

index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ permalink: /
55
description: "Advocating for Android as a free, open platform for everyone to build apps on."
66
---
77

8-
# Keep Android Open
9-
108
In August 2025, Google [announced](https://developer.android.com/developer-verification) that starting next year,
119
it will no longer be possible to develop apps for the Android platform
1210
without first registering centrally with Google.

0 commit comments

Comments
 (0)