Skip to content

Commit 08d65c2

Browse files
authored
Merge pull request #5804 from github/repo-sync
repo sync
2 parents d018d52 + 54676a0 commit 08d65c2

3 files changed

Lines changed: 10 additions & 18 deletions

File tree

content/actions/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ versions:
4646
<!-- {% link_with_intro /creating-actions %} -->
4747
<!-- {% link_with_intro /using-github-hosted-runners %} -->
4848
<!-- {% link_with_intro /hosting-your-own-runners %} -->
49-
<!-- {% link_with_intro /reference %} -->
49+
<!-- {% link_with_intro /reference %} -->

data/ui.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ footer:
129129
press: Press
130130
shop: Shop
131131
product_landing:
132-
quick_start: Quickstart
133-
reference_guides: Reference guides
132+
quickstart: Quickstart
133+
reference: Reference
134134
overview: Overview
135135
code_examples: Code examples
136136
search_code_examples: Search code examples

layouts/product-landing.html

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,15 @@ <h1 class="mb-3 font-mktg">
2222
</h1>
2323
<div class="lead-mktg color-text-secondary">{{ page.intro }}</div>
2424

25-
{% if page.introLinks.quickstart and page.introLinks.quickstart != '' %}
26-
<a href="/{{ currentLanguage }}{% if currentVersion != 'free-pro-team@latest' %}/{{ currentVersion }}{% endif %}{{ page.introLinks.quickstart }}" class="btn-mktg btn-large f4 mt-3 mr-3">
27-
{% data ui.product_landing.quick_start %}
25+
{% for introLinkType in page.introLinks %}
26+
{% if introLinkType[1] != '' %}
27+
{% unless introLinkType[0] contains 'raw' %}
28+
<a href="/{{ currentLanguage }}{% if currentVersion != 'free-pro-team@latest' %}/{{ currentVersion }}{% endif %}{{ page.introLinks[introLinkType[0]] }}" class="btn-mktg {% unless forloop.first %}btn-outline-mktg {% endunless %}btn-large f4 mt-3 mr-3">
29+
{% data ui.product_landing[introLinkType[0]] %}
2830
</a>
31+
{% endunless %}
2932
{% endif %}
30-
31-
{% if page.introLinks.reference and page.introLinks.reference != '' %}
32-
<a href="/{{ currentLanguage }}{% if currentVersion != 'free-pro-team@latest' %}/{{ currentVersion }}{% endif %}{{ page.introLinks.reference }}" class="btn-mktg btn-outline-mktg btn-large f4 mt-3 mr-3">
33-
{% data ui.product_landing.reference_guides %}
34-
</a>
35-
{% endif %}
36-
37-
{% if page.introLinks.overview and page.introLinks.overview != '' %}
38-
<a href="/{{ currentLanguage }}{% if currentVersion != 'free-pro-team@latest' %}/{{ currentVersion }}{% endif %}{{ page.introLinks.overview }}" class="btn-mktg btn-outline-mktg btn-large f4 mt-3 mr-3">
39-
{% data ui.product_landing.overview %}
40-
</a>
41-
{% endif %}
33+
{% endfor %}
4234
</div>
4335

4436
{% if page.product_video and page.product_video != '' %}

0 commit comments

Comments
 (0)