Skip to content

Commit dd6903b

Browse files
committed
Add "About" menu and "Improve this page" link.
1 parent c535531 commit dd6903b

File tree

4 files changed

+36
-11
lines changed

4 files changed

+36
-11
lines changed

config.toml

+19
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,25 @@ paginate = 10
1414

1515
# Main menu
1616

17+
[[menu.main]]
18+
name = "About"
19+
weight = 1
20+
[[menu.main]]
21+
parent = "About"
22+
name = "What is ReactOS?"
23+
url = "/what-is-reactos"
24+
weight = 101
25+
[[menu.main]]
26+
parent = "About"
27+
name = "Is ReactOS legal?"
28+
url = "/legal"
29+
weight = 102
30+
[[menu.main]]
31+
parent = "About"
32+
name = "FAQ"
33+
url = "/faq"
34+
weight = 103
35+
1736
[[menu.main]]
1837
name = "News"
1938
weight = 1

themes/reactos/layouts/_default/single.html

-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
<!DOCTYPE html>
22
<html lang="{{ .Site.LanguageCode }}">
3-
43
{{ partial "head.html" . }}
54

65
<body>
76
{{ partial "banner.html" . }}
87

98
<header>
10-
119
{{ partial "nav.html" . }}
12-
1310
</header>
1411

1512
{{ partial "breadcrumbs.html" . }}
@@ -37,6 +34,5 @@
3734
</div>
3835

3936
{{ partial "scripts.html" . }}
40-
4137
</body>
4238
</html>

themes/reactos/layouts/partials/footer.html

+13-7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<div class="col-md-4">
66
<ul class="links">
7-
<li><a href="/impressum">Impressum</a></li>
7+
<li><a href="https://github.com/colinfinck/web-content/tree/master/content/{{ .File.Path }}">Improve this page</a></li>
88
</ul>
99
</div>
1010

@@ -13,12 +13,18 @@
1313
<!-- Not removing this link is part of the licence conditions of the template. Thanks for understanding :) -->
1414
{{ i18n "portedBy" }} <a href="https://github.com/devcows/hugo-universal-theme">DevCows</a>
1515

16-
<div class="social">
17-
<a href="https://facebook.com/ReactOS-19143619259" target="_blank"><i class="fa fa-facebook"></i></a>
18-
<a href="https://github.com/reactos" target="_blank"><i class="fa fa-github"></i></a>
19-
<a href="https://twitter.com/reactos" target="_blank"><i class="fa fa-twitter"></i></a>
20-
<a href="https://vk.com/reactos_ru" target="_blank"><i class="fa fa-vk"></i></a>
21-
<a href="https://youtube.com/c/ReactOSCommunity" target="_blank"><i class="fa fa-youtube"></i></a>
16+
<div class="pull-right">
17+
<div class="social">
18+
<a href="https://facebook.com/ReactOS-19143619259" target="_blank"><i class="fa fa-facebook"></i></a>
19+
<a href="https://github.com/reactos" target="_blank"><i class="fa fa-github"></i></a>
20+
<a href="https://twitter.com/reactos" target="_blank"><i class="fa fa-twitter"></i></a>
21+
<a href="https://vk.com/reactos_ru" target="_blank"><i class="fa fa-vk"></i></a>
22+
<a href="https://youtube.com/c/ReactOSCommunity" target="_blank"><i class="fa fa-youtube"></i></a>
23+
</div>
24+
25+
<ul class="links">
26+
<li><a href="/impressum">Impressum</a></li>
27+
</ul>
2228
</div>
2329
</div>
2430
</div>

themes/reactos/static/css/style.blue.css

+4
Original file line numberDiff line numberDiff line change
@@ -3382,7 +3382,11 @@ a.list-group-item.active > .badge,
33823382
margin-right: 5px;
33833383
}
33843384

3385+
#copyright .social {
3386+
float: left;
3387+
}
33853388
#copyright ul.links {
3389+
float: left;
33863390
list-style: none;
33873391
margin: 0;
33883392
}

0 commit comments

Comments
 (0)