Skip to content

Commit 19e9e9e

Browse files
committed
Add homepage link in menu
1 parent 1b9227b commit 19e9e9e

File tree

3 files changed

+23
-9
lines changed

3 files changed

+23
-9
lines changed

content/_index.en.md renamed to content/_index.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
---
2-
title: Documentation structure
2+
title: Open Terms Archive documentation
3+
linkTitle: Homepage
34
weight: 1
45
---
56

67
# Open Terms Archive
78

8-
Open Terms Archive is a decentralised system that tracks collections of services' terms across multiple servers. Each collection operates its own API, and the Federation API unifies search and discovery across collections, fostering collaboration with external applications.
9+
Open Terms Archive is a decentralised system that t
10+
racks collections of services' terms across multiple servers. Each collection operates its own API, and the Federation API unifies search and discovery across collections, fostering collaboration with external applications.
911

1012
## Documentation structure
1113

@@ -23,4 +25,3 @@ In this documentation you can find this kind of content:
2325
- [**Programmatic access**](/programmatic-access/): Access terms programmatically through Collection APIs, Federation API, CLI tools, and Node.js modules
2426
- [**Federation**](/federation/): How collections work together in a decentralized network
2527
- [**Community**](/community/): Join our community on Mattermost and contribute to the project
26-

themes/opentermsarchive/assets/css/components/aside.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@
2222
li{
2323
border-bottom:1px solid var(--colorBlack200);
2424

25+
a{
26+
padding: var(--mXS) var(--mS);
27+
display:inline-block;
28+
width:100%;
29+
30+
&:hover{
31+
background-color:var(--colorBlack200);
32+
}
33+
}
34+
2535
&:last-child{
2636
border:none;
2737
}
@@ -72,6 +82,14 @@
7282

7383
li{
7484
border:none;
85+
86+
a{
87+
padding: 0;
88+
89+
&:hover{
90+
background-color: transparent;
91+
}
92+
}
7593
}
7694
}
7795
}

themes/opentermsarchive/layouts/partials/aside.html

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
<nav class="aside_nav">
66
<ul>
7+
<li><a href="{{ .Site.Home.RelPermalink }}">{{ .Site.Home.LinkTitle }}</a></li>
78
{{ range .Site.Sections.ByWeight }}
89
<li class="{{ if eq $currentPageSection .Section }}aside_item-current{{ end }}">
910
<details>
@@ -32,12 +33,6 @@
3233
</details>
3334
</li>
3435
{{ end }}
35-
36-
{{ range where .Site.RegularPages "Section" "" }}
37-
<li class="{{ if eq $currentPageTitle .Title }}aside_item-current{{ end }}">
38-
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
39-
</li>
40-
{{ end }}
4136
</ul>
4237
</nav>
4338
</aside>

0 commit comments

Comments
 (0)