Skip to content

Commit 2d84aef

Browse files
authored
Merge pull request #69 from gethinode/develop
Features
2 parents 1a6d3d7 + bfe15c0 commit 2d84aef

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+347
-386
lines changed

assets/scss/theme/theme.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,20 @@
2020
}
2121

2222
.card-shrink:hover {
23-
transform: scale(0.97);
23+
transform: scale(0.99);
24+
box-shadow: none if($enable-important-utilities, !important, null);
2425
}
2526

2627
.footer {
2728
background-color: var(--bs-secondary) if($enable-important-utilities, !important, null);
2829
color: var(--bs-light) if($enable-important-utilities, !important, null);
2930
}
3031

32+
.footer-muted {
33+
color: var(--bs-light) if($enable-important-utilities, !important, null);
34+
opacity: .5 if($enable-important-utilities, !important, null);
35+
}
36+
3137
.link-bg-footer {
3238
color: var(--bs-light) if($enable-important-utilities, !important, null);
3339
&:hover,

config/_default/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
title = "Hinode"
2-
copyright = "© 2023 <a href='https://github.com/markdumay' class='link-bg-footer' target='_blank' rel='noopener noreferrer'>Mark Dumay</a>"
2+
copyright = "© 2023 <a href='https://github.com/gethinode' class='link-bg-footer' target='_blank' rel='noopener noreferrer'>Hinode Team</a>"
33
paginate = 9
44
enableGitInfo = true
55
googleAnalytics = "G-T85PPZ36GN"

config/_default/languages.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
link = "https://demo.gethinode.com"
1212
caption = "Live Demo"
1313
[en.params.footer]
14-
license = "<a href='https://github.com/gethinode/hinode/blob/main/LICENSE' class='link-bg-footer' target='_blank' rel='noopener noreferrer'>MIT license</a>"
14+
license = "Code licensed <a href='https://github.com/gethinode/hinode/blob/main/LICENSE' class='link-bg-footer' target='_blank' rel='noopener noreferrer'>MIT</a>, docs <a href='https://creativecommons.org/licenses/by-nc/4.0/' class='link-bg-footer' target='_blank' rel='noopener noreferrer'>CC BY-NC 4.0</a>"

config/_default/menus/menus.en.toml

Lines changed: 77 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
weight = 20
1010

1111
[[main]]
12-
name = "Guides"
13-
url = "/guides/"
12+
name = "Components"
13+
url = "/components/"
1414
weight = 30
1515

1616
[[main]]
17-
name = "GitHub"
18-
url = "https://github.com/gethinode/hinode"
17+
name = "Guides"
18+
url = "/guides/"
1919
weight = 40
2020

2121
[[social]]
@@ -46,4 +46,76 @@
4646
url = "/en/projects/another-project/"
4747
parent = "Projects"
4848
weight = 2
49-
# toml-docs-end sample-navigation
49+
# toml-docs-end sample-navigation
50+
51+
[[footer]]
52+
name = "Links"
53+
weight = 10
54+
55+
[[footer]]
56+
parent = "Links"
57+
name = "Home"
58+
url = "/"
59+
weight = 1
60+
61+
[[footer]]
62+
parent = "Links"
63+
name = "About"
64+
url = "/about/"
65+
weight = 10
66+
67+
[[footer]]
68+
parent = "Links"
69+
name = "Docs"
70+
url = "/docs/"
71+
weight = 20
72+
73+
[[footer]]
74+
parent = "Links"
75+
name = "Components"
76+
url = "/components/"
77+
weight = 30
78+
79+
[[footer]]
80+
name = "Guides"
81+
weight = 20
82+
83+
[[footer]]
84+
parent = "Guides"
85+
name = "Getting started"
86+
url = "/guides/editing"
87+
weight = 10
88+
89+
[[footer]]
90+
parent = "Guides"
91+
name = "Adding packages"
92+
url = "/guides/packages"
93+
weight = 20
94+
95+
[[footer]]
96+
parent = "Guides"
97+
name = "Optimization"
98+
url = "/guides/optimization"
99+
weight = 30
100+
101+
[[footer]]
102+
name = "Community"
103+
weight = 30
104+
105+
[[footer]]
106+
parent = "Community"
107+
name = "GitHub"
108+
url = "https://github.com/gethinode/hinode"
109+
weight = 10
110+
111+
[[footer]]
112+
parent = "Community"
113+
name = "Issues"
114+
url = "https://github.com/gethinode/hinode/issues"
115+
weight = 20
116+
117+
[[footer]]
118+
parent = "Community"
119+
name = "Contribute"
120+
url = "/contribute"
121+
weight = 30

config/_default/params.toml

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
description = "Hinode is a clean documentation and blog theme for your Hugo site based on Bootstrap 5."
44
enableDarkMode = true
55
modes = ["light", "dark"]
6+
footerBelowFold = true
67

78
# toml-docs-start version
89
[docs]
@@ -12,7 +13,7 @@
1213
# toml-docs-end version
1314

1415
[home]
15-
sections = ["guides", "users", "features"]
16+
sections = ["guides", "users", "features", "opensource"]
1617
fullCover = true
1718
centerHeadline = true
1819
style = "gradient-featured"
@@ -29,6 +30,21 @@
2930
sidebar = true
3031

3132
[sections]
33+
[sections.docs]
34+
title = "Components"
35+
layout = "card"
36+
sort = "title"
37+
reverse = false
38+
nested = false
39+
background = ""
40+
color = "body-tertiary"
41+
style = "border-0 shadow card-feature card-shrink"
42+
cols = 3
43+
padding = "3"
44+
header = "none"
45+
footer = "none"
46+
orientation = "stacked"
47+
homepage = 3
3248
[sections.guides]
3349
title = "Check our guides to get you started"
3450
layout = "card"
@@ -60,6 +76,21 @@
6076
sort = "weight"
6177
reverse = false
6278
style = "justify-content-center"
79+
[sections.opensource]
80+
title = "Embrace the power of open source"
81+
sectionHeader = "justify-content-end"
82+
layout = "card"
83+
sort = "weight"
84+
reverse = false
85+
background = "body-tertiary"
86+
color = "body"
87+
style = "border card-feature"
88+
cols = 3
89+
padding = "3"
90+
header = "none"
91+
footer = "none"
92+
orientation = "stacked"
93+
homepage = 3
6394

6495
[favicon]
6596
logo = "img/favicon.png"
@@ -151,6 +182,7 @@
151182
github_signup = "https://github.com/signup"
152183
github_pr = "https://help.github.com/articles/about-pull-requests/"
153184
github_rebase = "https://help.github.com/articles/about-git-rebase/"
185+
golang = "https://go.dev/"
154186
google_analytics_csp = "https://developers.google.com/tag-platform/tag-manager/web/csp#google_analytics_4_google_analytics"
155187
google_chrome = "https://www.google.com/chrome"
156188
google_fonts = "https://fonts.google.com"
@@ -178,6 +210,7 @@
178210
hugo_pipes = "https://gohugo.io/hugo-pipes/introduction"
179211
hugo_postprocess = "https://gohugo.io/hugo-pipes/postprocess"
180212
hugo_release_v0_109_0 = "https://github.com/gohugoio/hugo/releases/tag/v0.109.0"
213+
hugo_sections = "https://gohugo.io/content-management/sections"
181214
hugo_shortcodes = "https://gohugo.io/content-management/shortcodes"
182215
hugo_structure = "https://gohugo.io/content-management/organization"
183216
hugo_templates = "https://gohugo.io/templates/introduction"
@@ -215,7 +248,8 @@
215248
repository = "https://github.com/gethinode/hinode"
216249
repository_child = "https://github.com/gethinode/child.git"
217250
repository_docs = "https://github.com/gethinode/docs.git"
218-
repository_owner = "https://github.com/gethinode/"
251+
repository_owner = "https://github.com/markdumay/"
252+
repository_tag = "https://github.com/gethinode/hinode/releases/tag/"
219253
semver = "https://semver.org"
220254
siteground_compression = "https://www.siteground.com/blog/brotli-vs-gzip-compression"
221255
stylelint = "https://stylelint.io"

content/en/docs/0.9/about/credits.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Credits
33
description: Hinode is fully open source and uses several open-source frameworks and libraries.
4-
date: 2023-01-14
4+
date: 2023-05-15
55
aliases:
66
- "/docs/0.9/about/credits/"
77
- "/docs/0.9/about/"
@@ -12,17 +12,17 @@ layout: docs
1212

1313
## Team
1414

15-
Hinode is maintained by [Mark Dumay]({{< param "links.repository_owner" >}}) and several contributors as an open-source repository on GitHub. You are more than welcome to contribute. Get involved in the development by [opening an issue]({{< param "links.issue_tracker" >}}) or submitting a pull request. Read our [contributing guidelines]({{< ref "contribute" >}}) for information on how we develop.
15+
Hinode is maintained by [Mark Dumay]({{< param "links.repository_owner" >}}) and several contributors as an open-source repository on [GitHub]({{< param "links.repository" >}}). You are more than welcome to contribute. Get involved in the development by [opening an issue]({{< param "links.issue_tracker" >}}) or submitting a pull request. Read our [contributing guidelines]({{< ref "contribute" >}}) for information on how we develop.
1616

1717
## Core components
1818

1919
Hinode is based on the following core components:
2020

21-
- [Hugo]({{< param "links.hugo" >}}) is a fast and modern static site generator written in Go. It is a so-called static site generator, meaning that the website is created when you update its content. This is a different approach to systems that dynamically build a page upon request.
21+
- [Hugo]({{< param "links.hugo" >}}) is a static HTML and CSS website generator written in [Go]({{< param "links.golang" >}}). It is optimized for speed, ease of use, and configurability. Hugo takes a directory with [Markdown content]({{< param "links.markdown_guide" >}}) and templates and renders them into a full HTML website.
2222
- [Bootstrap]({{< param "links.bootstrap" >}}) is a popular, open-source web development framework. Using a mobile-first approach, it provides several functions and components to simplify the creation of responsive websites.
2323
- [npm]({{< param "links.npm" >}}) is a software registry that enables the sharing and reuse of both open-source and private software packages. By taking advantage of its version management, software dependencies are easily tracked and updated.
2424
- [FlexSearch]({{< param "links.flexsearch" >}}) is a flexible search library to enable full text search across your site.
25-
- [Font Awesome]({{< param "links.fontawesome" >}}) is an icon library and toolkit that is used on over 200 million sites. It contains both free and paid plans.
25+
- [Font Awesome]({{< param "links.fontawesome" >}}) is a popular icon library and toolkit, used on over 200 million sites. The free version provides access to more than 2,000 icons. The toolkit also provides various styling and animation options out of the box.
2626

2727
## Themes
2828

0 commit comments

Comments
 (0)