Skip to content

Commit

Permalink
feat: cosmetic reame to kubo
Browse files Browse the repository at this point in the history
This only adds "kubo" to the HTML of dist.ipfs.io website,
does not change build pipeline, it still uses go-ipfs.
  • Loading branch information
lidel committed Jun 21, 2022
1 parent d95c102 commit defd487
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion dists/go-ipfs/description
Original file line number Diff line number Diff line change
@@ -1 +1 @@
go-ipfs is the main implementation of IPFS. It includes:\n- an IPFS core implementation\n- an IPFS daemon server\n- extensive command line tooling\n- an HTTP API for controlling the node\n- an HTTP Gateway for serving content to HTTP browsers\n
kubo (go-ipfs) is the first implementation of IPFS. It includes:\n- an IPFS core implementation\n- an IPFS daemon server\n- extensive command line tooling\n- an HTTP API for controlling the node\n- an HTTP Gateway for serving content to HTTP browsers\n
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions site/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ title = "IPFS Distributions"
taxonomies = {}

[params]
hiddenDists = ['gx', 'gx-go']
newGoIpfsName = 'kubo'

[params.targetMap]
386 = "32-bit"
amd64 = "64-bit"
Expand Down
13 changes: 7 additions & 6 deletions site/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,22 @@
<li class="d-sidebar-item nav-item">
<a class="d-sidebar-link nav-link" href="#about">About</a>
</li>
{{ range $key, $value := $.Site.Data.releases }}
{{ 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 }}">{{ $key }}</a>
<a class="d-sidebar-link nav-link" href="#{{ $key }}">{{ if eq "go-ipfs" $key }}{{ $.Site.Params.newGoIpfsName }} ({{ $key }}){{ else }}{{ key }}{{ end }}</a>
</li>
{{ end }}
{{ end }}{{ end }}
</ul>
</div>
</div>
<div class="col-md-9">
{{ range $key, $value := $.Site.Data.releases }}
{{ range $key, $value := $.Site.Data.releases }}{{ if not (in $.Site.Params.hiddenDists $key) }}
{{ $data := $value.data }}
{{ if eq "go-ipfs" }}<div id="{{ $.Site.Params.newGoIpfsName }}"></div>{{ end }}
<div class="d-component" id="{{ $key }}">
<div class="d-component-desc row">
<div class="col-md-7">
<h1 class="d-component-desc-title">{{ $key }}</h1>
<h1 class="d-component-desc-title">{{ if eq "go-ipfs" $key }}{{ $.Site.Params.newGoIpfsName }} (old name: {{ $key }}){{ else }}{{ $key }}{{ 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 Expand Up @@ -115,7 +116,7 @@ <h4 class="d-component-release-date">{{ $data.date }}</h4>
</div>
</div>
</div>
{{ end }}
{{ end }}{{ end }}
</div>
</div>
</div>
Expand Down

0 comments on commit defd487

Please sign in to comment.