Skip to content

Commit

Permalink
fix: kubo (go-ipfs) on the website
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Jul 6, 2022
1 parent 8316fb9 commit 005dc31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</li>
{{ range $key, $value := $.Site.Data.releases }}{{ if not (in $.Site.Params.hiddenDists $key) }}
<li class="d-sidebar-item nav-item">
<a class="d-sidebar-link nav-link" href="#{{ $key }}">{{ if eq "go-ipfs" $key }}{{ $.Site.Params.newGoIpfsName }} ({{ $key }}){{ else }}{{ $key }}{{ end }}</a>
<a class="d-sidebar-link nav-link" href="#{{ $key }}">{{ if eq "kubo" $key }}kubo <small style="color: var(--gray)">(go-ipfs)</small>{{ else }}{{ $key }}{{ end }}</a>
</li>
{{ end }}{{ end }}
</ul>
Expand All @@ -44,7 +44,7 @@
<div class="d-component" id="{{ $key }}">
<div class="d-component-desc row">
<div class="col-md-7">
<h1 class="d-component-desc-title">{{ $key }}{{ if eq $.Site.Params.newGoIpfsName $key }}<small>(old name: go-ipfs)</small>{{ end }}</h1>
<h1 class="d-component-desc-title">{{ $key }}{{ if eq $.Site.Params.newGoIpfsName $key }} <small style="color: var(--gray)">(go-ipfs)</small>{{ end }}</h1>
<h2 class="d-component-desc-sub-title">{{ $data.tagline }}</h2>
<div class="d-component-desc-body">{{ $data.description | markdownify }}</div>
</div>
Expand Down

0 comments on commit 005dc31

Please sign in to comment.