Skip to content

Commit

Permalink
Change development documentation link to nightly and truncate descrip…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
Naros committed Jan 22, 2024
1 parent 40aec2d commit 108c306
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion _includes/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,13 @@ <h4 class="series-label">
<div class="clear"></div>
<h3 class="version">{{ version }}</h3>
<h6 class="version-date">{{ latestRelease.date }}</h6>
<div class="description">{{ latestRelease.summary }}</div>
<div class="description">{{ latestRelease.summary | truncate: 120 }}</div>
<div class="more-info">
{% if labelText = 'development' %}
<a class="btn btn-primary" href="/documentation/reference/nightly/">
{% else %}
<a class="btn btn-primary" href="/documentation/reference/{{version}}/">
{% endif %}
More info&nbsp;&nbsp;&nbsp;&nbsp;
<span class="icon-arrow-right"></span>
</a>
Expand Down

0 comments on commit 108c306

Please sign in to comment.