Skip to content

Commit 28efe65

Browse files
authored
Fix some invalid Liquid (github#17705)
* Remove quotes from render paths * Do the same for includes * Fix {{{ in breadcrumbs * Remove some old octicon syntax * Fix some wonks * Borked one * Unchange `render` calls * Smaller diff * Even smaller
1 parent 6be8138 commit 28efe65

File tree

12 files changed

+18
-17
lines changed

12 files changed

+18
-17
lines changed

includes/breadcrumbs.html

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<nav class="breadcrumbs f5" aria-label="Breadcrumb">
22
{% for breadcrumb in breadcrumbs %}
3-
{% if breadcrumb[1].href == '' %}
4-
<span>{{breadcrumb[1].title}}</span>
5-
{% else %}
6-
<a title="{{ breadcrumb[0]}}: {{breadcrumb[1].title}}" href="{{{breadcrumb[1].href}}" class="d-inline-block {% if breadcrumb[1].href == currentPath %}text-gray-light{% endif %}">
7-
{{breadcrumb[1].title}}</a>
8-
{% endif %}
3+
{% if breadcrumb[1].href == '' %}
4+
<span>{{ breadcrumb[1].title }}</span>
5+
{% else %}
6+
<a title="{{ breadcrumb[0] }}: {{ breadcrumb[1].title }}" href="{{ breadcrumb[1].href }}" class="d-inline-block {% if breadcrumb[1].href == currentPath %}text-gray-light{% endif %}">
7+
{{ breadcrumb[1].title }}
8+
</a>
9+
{% endif %}
910
{% endfor %}
1011
</nav>

layouts/product-sublanding.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ <h5 class="flex-auto pr-2">{{ guide.title }}</h5>
104104

105105
{% if page.includeGuides %}
106106
<div class="py-6 border-top border-gray">
107-
{% include 'article-cards' %}
107+
{% include article-cards %}
108108
</div>
109109
{% endif %}
110110

layouts/release-notes.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ <h2 class="border-bottom-0 m-0 p-0">
6868
{% for section in patch.sections %}
6969
<div class="release-notes-section-{{ section[0] }} py-6 d-block d-xl-flex gutter-xl flex-items-baseline {% unless forloop.last %}border-bottom{% endunless %}">
7070
<div class="col-12 col-xl-3 mb-5">
71-
{% include 'release-notes-category-label' %}
71+
{% include release-notes-category-label %}
7272
</div>
7373

7474
<ul class="col-12 col-xl-9 release-notes-list">

translations/ja-JP/content/insights/installing-and-configuring-github-insights/managing-available-metrics-and-reports.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ versions:
1212
メトリクスを無効化すると、そのメトリクスはどのユーザからも、{% data variables.product.prodname_insights %}のどこからも見えなくなります。
1313

1414
{% data reusables.github-insights.settings-tab %}
15-
2. **{% octicon "gear" aria-label="The gear icon" %} Settings({{ octicon-gear The gear icon }}設定)**の下で、**Toggle reports(レポートの切り替え)**をクリックしてください。 ![レポートの切り替えタブ](/assets/images/help/insights/toggle-reports-tab.png)
15+
2. **{% octicon "gear" aria-label="The gear icon" %} Settings(設定)**の下で、**Toggle reports(レポートの切り替え)**をクリックしてください。 ![レポートの切り替えタブ](/assets/images/help/insights/toggle-reports-tab.png)
1616
3. 管理したいメトリクスの右で、** Enabled(有効)**あるいは**Disabled(無効)**ドロップダウンメニューを使ってください。 ![メトリクスの切り替えのドロップダウンメニュー](/assets/images/help/insights/toggle-report-drop-down.png)
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1. "{% octicon "gear" aria-label="The Settings gear" %} Setteings({{ octicon-gear The Settings gear }}設定)"の下で、**Hooks(フック)**をクリックしてください。 ![Enterpriseアカウント設定サイドバー内のフックタブ](/assets/images/help/business-accounts/settings-hooks-tab.png)
1+
1. "{% octicon "gear" aria-label="The Settings gear" %} Setteings(設定)"の下で、**Hooks(フック)**をクリックしてください。 ![Enterpriseアカウント設定サイドバー内のフックタブ](/assets/images/help/business-accounts/settings-hooks-tab.png)
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1. "{% octicon "gear" aria-label="The Settings gear" %} Setteings({{ octicon-gear The Settings gear }}設定)"の下で、**Messages(メッセージ)**をクリックしてください。 ![Enterprise設定サイドバー内のメッセージタブ](/assets/images/enterprise/business-accounts/settings-messages-tab.png)
1+
1. "{% octicon "gear" aria-label="The Settings gear" %} Setteings(設定)"の下で、**Messages(メッセージ)**をクリックしてください。 ![Enterprise設定サイドバー内のメッセージタブ](/assets/images/enterprise/business-accounts/settings-messages-tab.png)
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1. **{% octicon "gear" aria-label="The gear icon" %} Settings({{ octicon-gear The gear icon }}設定)**の下で**Events(イベント)**をクリックしてください。 ![イベントタブ](/assets/images/help/insights/events-tab.png)
1+
1. **{% octicon "gear" aria-label="The gear icon" %} Settings(設定)**の下で**Events(イベント)**をクリックしてください。 ![イベントタブ](/assets/images/help/insights/events-tab.png)
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1. **{% octicon "gear" aria-label="The gear icon" %} Settings({{ octicon-gear The gear icon }}設定)**の下で**Exclude files(ファイルの除外)**をクリックしてください。 ![ファイルの除外タブ](/assets/images/help/insights/exclude-files-tab.png)
1+
1. **{% octicon "gear" aria-label="The gear icon" %} Settings(設定)**の下で**Exclude files(ファイルの除外)**をクリックしてください。 ![ファイルの除外タブ](/assets/images/help/insights/exclude-files-tab.png)
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1. **{% octicon "gear" aria-label="The gear icon" %} Settings({{ octicon-gear The gear icon }}設定)**の下で**Repo groups(リポジトリグループ)**をクリックしてください。 ![リポジトリグループタブ](/assets/images/help/insights/repo-groups-tab.png)
1+
1. **{% octicon "gear" aria-label="The gear icon" %} Settings(設定)**の下で**Repo groups(リポジトリグループ)**をクリックしてください。 ![リポジトリグループタブ](/assets/images/help/insights/repo-groups-tab.png)
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1. **{% octicon "gear" aria-label="The gear icon" %} Settings({{ octicon-gear The gear icon }}設定)**の下で**Repositories(リポジトリ)**をクリックしてください。 ![[Repositories] タブ](/assets/images/help/insights/repositories-tab.png)
1+
1. **{% octicon "gear" aria-label="The gear icon" %} Settings(設定)**の下で**Repositories(リポジトリ)**をクリックしてください。 ![[Repositories] タブ](/assets/images/help/insights/repositories-tab.png)
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1. {% data variables.product.prodname_insights %}で、**{% octicon "gear" aria-label="The gear icon" %} Settings({{ octicon-gear The gear icon }}の設定)**をクリックしてください。 ![設定タブ](/assets/images/help/insights/settings-tab.png)
1+
1. {% data variables.product.prodname_insights %}で、**{% octicon "gear" aria-label="The gear icon" %} Settings(の設定)**をクリックしてください。 ![設定タブ](/assets/images/help/insights/settings-tab.png)
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1. **{% octicon "gear" aria-label="The gear icon" %} Settings({{ octicon-gear The gear icon }}設定)**の下で**Teams**をクリックしてください。 ![Teamsタブ](/assets/images/help/insights/teams-tab.png)
1+
1. **{% octicon "gear" aria-label="The gear icon" %} Settings(設定)**の下で**Teams**をクリックしてください。 ![Teamsタブ](/assets/images/help/insights/teams-tab.png)

0 commit comments

Comments
 (0)