Skip to content

Commit

Permalink
Update names
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddenton committed Oct 8, 2024
1 parent ef72810 commit 1e6609a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/website/content/ecosystem/connect/contributing.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
type: ecosystem
ecosystem: http4k Connect
title: Connect Contributors Guide
title: Contributors Guide
description: How to contribute to http4k Connect
remote: "https://raw.githubusercontent.com/http4k/http4k-connect/refs/heads/master/CONTRIBUTING.md"
---
2 changes: 1 addition & 1 deletion src/website/content/ecosystem/http4k/contributing.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
type: ecosystem
ecosystem: http4k Core
title: http4k Contributors Guide
title: Contributors Guide
description: How to contribute to http4k Core
remote: "https://raw.githubusercontent.com/http4k/http4k/refs/heads/master/CONTRIBUTING.md"
---
16 changes: 9 additions & 7 deletions src/website/layouts/partials/shared/ecosystem-sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@
<ul class="list-unstyled">
{{ $ecosystem := .Params.ecosystem }}

<h2>{{ $ecosystem }}</h2>
{{ range (where .Site.Data.ecosystem "title" "eq" $ecosystem) }}
<li><h2><a href="/ecosystem/{{ .ref }}">{{ $ecosystem }}</a></h2></li>
{{ end }}

<li>
<h4>Concepts</h4>
<ul class="list-unstyled ms-3">
{{ range where (where .Site.RegularPages ".Params.Category" "eq" "Concept") ".Params.ecosystem" "eq" $ecosystem }}
<li>
<a href="{{ .RelPermalink }}/" class="{{ if eq .RelPermalink $.Page.RelPermalink }}active{{ end }}">{{ .Title }}</a>
<a href="{{ .RelPermalink }}/" class="ecoLink {{ if eq .RelPermalink $.Page.RelPermalink }}active{{ end }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
Expand All @@ -23,10 +25,10 @@ <h4>Concepts</h4>
<li>
<h4>Project</h4>
<ul class="list-unstyled ms-3">
<li><a href="/ecosystem/{{ .ref }}/changelog/">Changelog</a></li>
<li><a href="{{ .github }}">GitHub</a></li>
<li><a href="/ecosystem/{{ .ref }}/contributing/">Contributing</a></li>
<li><a href="{{ .github }}/issues">Issue Tracker</a></li>
<li><a class="ecoLink" href="/ecosystem/{{ .ref }}/changelog/">Changelog</a></li>
<li><a class="ecoLink" href="{{ .github }}">GitHub</a></li>
<li><a class="ecoLink" href="/ecosystem/{{ .ref }}/contributing/">Contributing</a></li>
<li><a class="ecoLink" href="{{ .github }}/issues">Issue Tracker</a></li>
</ul>
</li>

Expand All @@ -35,7 +37,7 @@ <h4>Reference</h4>
<ul class="list-unstyled ms-3">
{{ range where (where $page.Site.RegularPages ".Params.Category" "eq" "Reference") ".Params.ecosystem" "eq" $ecosystem }}
<li>
<a href="{{ .RelPermalink }}/" class="{{ if eq .RelPermalink $.Page.RelPermalink }}active{{ end }}">{{ .Title }}</a>
<a href="{{ .RelPermalink }}/" class="ecoLink {{ if eq .RelPermalink $.Page.RelPermalink }}active{{ end }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
Expand Down
8 changes: 8 additions & 0 deletions src/website/static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -237,3 +237,11 @@ footer {
display: none;
}
}

a {
text-decoration: none;
}

.github {
display: none;
}

0 comments on commit 1e6609a

Please sign in to comment.