Skip to content

Commit

Permalink
Wrap words in {{#translate}}
Browse files Browse the repository at this point in the history
- Key Points (keypoints)
- See all in one page (see_aio)
  • Loading branch information
joelnitta committed Nov 24, 2023
1 parent c59c9ed commit 15f7167
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions inst/pkgdown/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
{{#instructor}}
{{^overview}}
<li class="nav-item">
<a class="nav-link" href="{{#site}}{{root}}{{/site}}instructor/key-points.html">Key Points</a>
<a class="nav-link" href="{{#site}}{{root}}{{/site}}instructor/key-points.html">{{#translate}}{{keypoints}}{{/translate}}</a>
</li>
{{/overview}}
<li class="nav-item">
Expand All @@ -157,7 +157,7 @@
{{^instructor}}
{{^overview}}
<li class="nav-item">
<a class="nav-link" href="{{#site}}{{root}}{{/site}}key-points.html">Key Points</a>
<a class="nav-link" href="{{#site}}{{root}}{{/site}}key-points.html">{{#translate}}{{keypoints}}{{/translate}}</a>
</li>
{{/overview}}
<li class="nav-item">
Expand Down
6 changes: 3 additions & 3 deletions inst/pkgdown/templates/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ <h2 class="accordion-header" id="flush-headingTwelve">
{{#instructor}}
{{^overview}}
<li>
<a href="{{#site}}{{root}}{{/site}}instructor/key-points.html">Key Points</a>
<a href="{{#site}}{{root}}{{/site}}instructor/key-points.html">{{#translate}}{{keypoints}}{{/translate}}</a>
</li>
{{/overview}}
<li>
Expand All @@ -120,7 +120,7 @@ <h2 class="accordion-header" id="flush-headingTwelve">
{{^instructor}}
{{^overview}}
<li>
<a href="{{#site}}{{root}}{{/site}}key-points.html">Key Points</a>
<a href="{{#site}}{{root}}{{/site}}key-points.html">{{#translate}}{{keypoints}}{{/translate}}</a>
</li>
{{/overview}}
<li>
Expand All @@ -140,7 +140,7 @@ <h2 class="accordion-header" id="flush-headingTwelve">
{{/resources}}

{{^overview}}{{#aio}}
<a href="{{#site}}{{root}}{{/site}}{{#instructor}}instructor/{{/instructor}}aio.html">See all in one page</a>
<a href="{{#site}}{{root}}{{/site}}{{#instructor}}instructor/{{/instructor}}aio.html">{{#translate}}{{see_aio}}{{/translate}}</a>
{{/aio}}{{/overview}}

<hr class="d-none d-sm-block d-md-none"/>
Expand Down

0 comments on commit 15f7167

Please sign in to comment.