forked from rook/rook
The latest docs should link to the master examples on github. Only the docs were renamed to latest, but not the github branch. Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
8 lines
254 B
Plaintext
8 lines
254 B
Plaintext
{% assign url = page.url | split: '/' %}
|
|
{% assign currentVersion = url[3] %}
|
|
{% if currentVersion != 'latest' %}
|
|
{% assign branchName = currentVersion | replace: 'v', '' | prepend: 'release-' %}
|
|
{% else %}
|
|
{% assign branchName = 'master' %}
|
|
{% endif %}
|