-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2049 from nikolassv/issue_2048
Link current page in english on localized sites
- Loading branch information
Showing
2 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
language: | ||
- headline: 'The <a href="https://quarkus.io">English version of quarkus.io</a> is the official project site. Translated sites are community supported on a best-effort basis.' | ||
- headline: 'The <a href="%URL%">English version of quarkus.io</a> is the official project site. Translated sites are community supported on a best-effort basis.' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{%if site.cname!="quarkus.io" %} | ||
{%assign url = page.url | prepend: "https://quarkus.io" %} | ||
{% for item in site.data.languages.language %} | ||
<div class="grid-wrapper communitysite"> | ||
<div class="grid__item width-12-12">{{ item.headline }}</div> | ||
<div class="grid__item width-12-12">{{ item.headline | replace: "%URL%", url }}</div> | ||
</div> | ||
{% endfor %} | ||
{% endif %} |