Skip to content

Commit 6df82d8

Browse files
committed
[FORMATTING] Convert some existing mess to tabs (fine for web stuff!) and YAML in page headers to TOML (YAML doesn't work with tabs..)
1 parent 496c4cc commit 6df82d8

File tree

7 files changed

+2934
-2953
lines changed

7 files changed

+2934
-2953
lines changed

config.toml

+120-120
Original file line numberDiff line numberDiff line change
@@ -15,152 +15,152 @@ paginate = 10
1515
# Main menu
1616

1717
[[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
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
3535

3636
[[menu.main]]
37-
name = "News"
38-
weight = 1
39-
[[menu.main]]
40-
parent = "News"
41-
name = "All News"
42-
url = "/news/"
43-
weight = 101
44-
[[menu.main]]
45-
parent = "News"
46-
name = "Project News"
47-
url = "/project-news/"
48-
weight = 102
49-
[[menu.main]]
50-
parent = "News"
51-
name = "Blog Posts"
52-
url = "/blogs/"
53-
weight = 103
37+
name = "News"
38+
weight = 1
39+
[[menu.main]]
40+
parent = "News"
41+
name = "All News"
42+
url = "/news/"
43+
weight = 101
44+
[[menu.main]]
45+
parent = "News"
46+
name = "Project News"
47+
url = "/project-news/"
48+
weight = 102
49+
[[menu.main]]
50+
parent = "News"
51+
name = "Blog Posts"
52+
url = "/blogs/"
53+
weight = 103
5454

5555
[[menu.main]]
56-
name = "Community"
57-
weight = 2
58-
[[menu.main]]
59-
parent = "Community"
60-
name = "Chat"
61-
url = "https://chat.reactos.org"
62-
weight = 201
63-
[[menu.main]]
64-
parent = "Community"
65-
name = "Forum"
66-
url = "/forum"
67-
weight = 202
68-
[[menu.main]]
69-
parent = "Community"
70-
name = "Shop"
71-
url = "https://reactos.spreadshirt.net"
72-
weight = 203
56+
name = "Community"
57+
weight = 2
58+
[[menu.main]]
59+
parent = "Community"
60+
name = "Chat"
61+
url = "https://chat.reactos.org"
62+
weight = 201
63+
[[menu.main]]
64+
parent = "Community"
65+
name = "Forum"
66+
url = "/forum"
67+
weight = 202
68+
[[menu.main]]
69+
parent = "Community"
70+
name = "Shop"
71+
url = "https://reactos.spreadshirt.net"
72+
weight = 203
7373

7474
[[menu.main]]
75-
name = "Development"
76-
weight = 3
77-
[[menu.main]]
78-
parent = "Development"
79-
name = "Jira"
80-
url = "https://jira.reactos.org"
81-
weight = 301
82-
[[menu.main]]
83-
parent = "Development"
84-
name = "ReactOS Builds"
85-
url = "/getbuilds"
86-
weight = 302
87-
[[menu.main]]
88-
parent = "Development"
89-
name = "ReactOS on GitHub"
90-
url = "https://github.com/reactos"
91-
weight = 303
92-
[[menu.main]]
93-
parent = "Development"
94-
name = "Report a Bug"
95-
url = "https://reactos.org/wiki/File_Bugs"
96-
weight = 304
97-
[[menu.main]]
98-
parent = "Development"
99-
name = "Testman"
100-
url = "/testman"
101-
weight = 305
102-
[[menu.main]]
103-
parent = "Development"
104-
name = "Wiki"
105-
url = "/wiki"
106-
weight = 306
75+
name = "Development"
76+
weight = 3
77+
[[menu.main]]
78+
parent = "Development"
79+
name = "Jira"
80+
url = "https://jira.reactos.org"
81+
weight = 301
82+
[[menu.main]]
83+
parent = "Development"
84+
name = "ReactOS Builds"
85+
url = "/getbuilds"
86+
weight = 302
87+
[[menu.main]]
88+
parent = "Development"
89+
name = "ReactOS on GitHub"
90+
url = "https://github.com/reactos"
91+
weight = 303
92+
[[menu.main]]
93+
parent = "Development"
94+
name = "Report a Bug"
95+
url = "https://reactos.org/wiki/File_Bugs"
96+
weight = 304
97+
[[menu.main]]
98+
parent = "Development"
99+
name = "Testman"
100+
url = "/testman"
101+
weight = 305
102+
[[menu.main]]
103+
parent = "Development"
104+
name = "Wiki"
105+
url = "/wiki"
106+
weight = 306
107107

108108
[[menu.main]]
109-
name = "Donate"
110-
url = "/donate"
111-
weight = 5
109+
name = "Donate"
110+
url = "/donate"
111+
weight = 5
112112

113113
[[menu.main]]
114-
name = "Download"
115-
url = "/download"
116-
weight = 6
114+
name = "Download"
115+
url = "/download"
116+
weight = 6
117117

118118
[params]
119-
viewMorePostLink = "/news/"
120-
author = "DevCows"
121-
defaultKeywords = ["devows", "hugo", "go"]
122-
defaultDescription = "Site template made by devcows using hugo"
119+
viewMorePostLink = "/news/"
120+
author = "DevCows"
121+
defaultKeywords = ["devows", "hugo", "go"]
122+
defaultDescription = "Site template made by devcows using hugo"
123123

124-
# Format dates with Go's time formatting
125-
date_format = "January 2, 2006"
124+
# Format dates with Go's time formatting
125+
date_format = "January 2, 2006"
126126

127-
logo = "/sites/default/files/ReactOS_0.png"
128-
logo_small = "/sites/default/files/ReactOS_0.png"
127+
logo = "/sites/default/files/ReactOS_0.png"
128+
logo_small = "/sites/default/files/ReactOS_0.png"
129129

130130
[Permalinks]
131-
blog = "/blog/:year/:month/:day/:filename/"
131+
blog = "/blog/:year/:month/:day/:filename/"
132132

133133
# Enable and disable widgets for the right sidebar
134134
[params.widgets]
135-
categories = true
136-
tags = true
137-
search = true
135+
categories = true
136+
tags = true
137+
search = true
138138

139139
[params.carousel]
140-
enable = true
141-
# All carousel items are defined in their own files. You can find example items
142-
# at 'exampleSite/data/carousel'.
143-
# For more informtion take a look at the README.
140+
enable = true
141+
# All carousel items are defined in their own files. You can find example items
142+
# at 'exampleSite/data/carousel'.
143+
# For more informtion take a look at the README.
144144

145145
[params.features]
146-
enable = false
147-
# All features are defined in their own files. You can find example items
148-
# at 'exampleSite/data/features'.
149-
# For more informtion take a look at the README.
146+
enable = false
147+
# All features are defined in their own files. You can find example items
148+
# at 'exampleSite/data/features'.
149+
# For more informtion take a look at the README.
150150

151151
[params.see_more]
152-
enable = true
153-
icon = "fa fa-file-code-o"
154-
title = "ReactOS is a Free Opensource operating system."
155-
subtitle = "Imagine running your favorite Windows applications and drivers in an open-source environment you can trust. That's ReactOS. Not just an Open but also a Free operating system."
156-
link_url = "#"
157-
link_text = "Click here to learn more"
152+
enable = true
153+
icon = "fa fa-file-code-o"
154+
title = "ReactOS is a Free Opensource operating system."
155+
subtitle = "Imagine running your favorite Windows applications and drivers in an open-source environment you can trust. That's ReactOS. Not just an Open but also a Free operating system."
156+
link_url = "#"
157+
link_text = "Click here to learn more"
158158

159159
[params.recent_posts]
160-
enable = true
161-
title = "Recent news"
162-
subtitle = "Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo."
160+
enable = true
161+
title = "Recent news"
162+
subtitle = "Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo."
163163

164164
[taxonomies]
165-
author = "author"
166-
tag = "tags"
165+
author = "author"
166+
tag = "tags"

content/_index.html

+44-42
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,51 @@
1-
---
2-
title: "Front Page"
3-
css:
4-
- "/css/gh-fork-ribbon.css"
5-
scripts:
6-
- "/js/front.js"
7-
- "/js/home.js"
8-
---
1+
+++
2+
title = "Front Page"
3+
css = [
4+
"/css/gh-fork-ribbon.css",
5+
]
6+
scripts = [
7+
"/js/front.js",
8+
"/js/home.js",
9+
]
10+
+++
911
<section id="intro" class="row bar no-mb">
10-
<div class="col-md-offset-1 col-md-5">
11-
<h1>Welcome to ReactOS</h1>
12+
<div class="col-md-offset-1 col-md-5">
13+
<h1>Welcome to ReactOS</h1>
1214

13-
<p class="lead">
14-
Imagine running your favorite Windows applications and drivers in an open-source environment you can trust.<br>
15-
That's the mission of ReactOS!
16-
</p>
15+
<p class="lead">
16+
Imagine running your favorite Windows applications and drivers in an open-source environment you can trust.<br>
17+
That's the mission of ReactOS!
18+
</p>
1719

18-
<div class="col-md-6 row">
19-
<h4>Development</h4>
20-
<ul>
21-
<li><a href="/getbuilds">ReactOS Builds</a></li>
22-
<li><a href="/wiki/File_Bugs">Report a Bug</a></li>
23-
<li><a href="/testman">Testman</a></li>
24-
<li><a href="/wiki">Wiki</a></li>
25-
</ul>
26-
</div>
20+
<div class="col-md-6 row">
21+
<h4>Development</h4>
22+
<ul>
23+
<li><a href="/getbuilds">ReactOS Builds</a></li>
24+
<li><a href="/wiki/File_Bugs">Report a Bug</a></li>
25+
<li><a href="/testman">Testman</a></li>
26+
<li><a href="/wiki">Wiki</a></li>
27+
</ul>
28+
</div>
2729

28-
<div class="col-md-6">
29-
<h4>Get in touch</h4>
30-
<ul>
31-
<li><a href="https://chat.reactos.org">Chat</a></li>
32-
<li><a href="/forum">Forum</a></li>
33-
<li><a href="/mailing-lists">Mailing Lists</a></li>
34-
</ul>
35-
</div>
36-
</div>
30+
<div class="col-md-6">
31+
<h4>Get in touch</h4>
32+
<ul>
33+
<li><a href="https://chat.reactos.org">Chat</a></li>
34+
<li><a href="/forum">Forum</a></li>
35+
<li><a href="/mailing-lists">Mailing Lists</a></li>
36+
</ul>
37+
</div>
38+
</div>
3739

38-
<div class="col-md-5 text-center">
39-
<div class="screenshot">
40-
<a href="/gallery"><img src="/sites/default/files/themes.png" alt="ReactOS in action"></a><br>
41-
<a href="/gallery">view more screenshots</a>
42-
</div>
40+
<div class="col-md-5 text-center">
41+
<div class="screenshot">
42+
<a href="/gallery"><img src="/sites/default/files/themes.png" alt="ReactOS in action"></a><br>
43+
<a href="/gallery">view more screenshots</a>
44+
</div>
4345

44-
<div class="buttons">
45-
<a href="/download" class="btn btn-success"><i class="fa fa-download"></i> Download ReactOS {{< reactos-version >}}</a> or
46-
<a href="/donate" class="btn btn-success">Donate</a>
47-
</div>
48-
</div>
46+
<div class="buttons">
47+
<a href="/download" class="btn btn-success"><i class="fa fa-download"></i> Download ReactOS {{< reactos-version >}}</a> or
48+
<a href="/donate" class="btn btn-success">Donate</a>
49+
</div>
50+
</div>
4951
</section>

0 commit comments

Comments
 (0)