Skip to content

Commit 371fb6b

Browse files
authored
Merge pull request #4 from leejuyuu/initial-site
Add initial website structure
2 parents 3eef4f2 + f557de0 commit 371fb6b

Some content is hidden

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

66 files changed

+692
-9382
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "themes/adidoks"]
2+
path = themes/adidoks
3+
url = https://github.com/aaranxu/adidoks.git

config.toml

+103-16
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
# The URL the site will be built for
22
base_url = "https://nomacs.org"
3-
title = "nomacs - Image Lounge"
3+
title = "nomacs"
44
description = "nomacs is a free, open source image viewer, which supports multiple platforms"
55

6-
theme = "hallo"
6+
# The site theme to use.
7+
theme = "adidoks"
8+
9+
# The default language; used in feeds and search index
10+
# Note: the search index doesn't support Chinese/Japanese/Korean Languages
11+
default_language = "en"
712

813
# Whether to automatically compile all Sass files in the sass directory
914
compile_sass = true
@@ -14,7 +19,14 @@ generate_feed = true
1419
# When set to "true", the generated HTML files are minified.
1520
minify_html = false
1621

22+
# The taxonomies to be rendered for the site and their configuration.
23+
taxonomies = [
24+
{name = "authors"}, # Basic definition: no feed or pagination
25+
]
26+
1727
# Whether to build a search index to be used later on by a JavaScript library
28+
# When set to "true", a search index is built from the pages and section
29+
# content for `default_language`.
1830
build_search_index = true
1931

2032
[search]
@@ -26,22 +38,97 @@ include_description = false
2638
include_content = true
2739

2840
[markdown]
29-
# Whether to do syntax highlighting
30-
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
41+
# Whether to do syntax highlighting.
42+
# Theme can be customised by setting the `highlight_theme`
43+
# variable to a theme supported by Zola
3144
highlight_code = true
32-
highlight_theme = "dracula"
3345

3446
[extra]
3547
# Put all your custom variables here
36-
greeting = "nomacs - Image Lounge"
37-
message = "We are in process of migrating our website. For the time being, please visit our GitHub page."
38-
authorname = "nomacs maintainers"
39-
links = [
40-
{ title = "E-Mail", url = "mailto:[email protected]", iconset = "fas", icon = "envelope" },
41-
{ title = "GitHub", url = "https://github.com/nomacs/nomacs", icon = "github" },
42-
]
48+
author = "Nomacs maintainers"
49+
github = "https://github.com/nomacs/nomacs"
50+
51+
# If running on netlify.app site, set to true
52+
is_netlify = false
53+
54+
# Set HTML file language
55+
language_code = "en-US"
56+
57+
# Set theme-color meta tag for Chrome browser
58+
theme_color = "#fff"
59+
60+
# More about site's title
61+
title_separator = "|" # set as |, -, _, etc
62+
title_addition = "Image Lounge"
63+
64+
65+
# Set date format in blog publish metadata
66+
timeformat = "%B %e, %Y" # e.g. June 14, 2021
67+
timezone = "America/New_York"
68+
69+
# Edit page on reposity or not
70+
edit_page = false
71+
docs_repo = "https://github.com/nomacs/nomacs.github.io"
72+
repo_branch = "main"
73+
74+
## Math settings
75+
# options: true, false. Enable math support globally,
76+
# default: false. You can always enable math on a per page.
77+
math = false
78+
library = "katex" # options: "katex", "mathjax". default is "katex".
79+
80+
## Open Graph + Twitter Cards
81+
[extra.open]
82+
enable = true
83+
# this image will be used as fallback if a page has no image of its own
84+
image = "nomacs.svg"
85+
twitter_site = "nomacs"
86+
twitter_creator = "nomacs"
87+
facebook_author = "nomacs"
88+
facebook_publisher = "nomacs"
89+
og_locale = "en_US"
90+
91+
## JSON-LD
92+
[extra.schema]
93+
type = "Organization"
94+
logo = "nomacs.svg"
95+
github = "https://github.com/nomacs/nomacs"
96+
section = "blog" # see config.extra.main~url
97+
## Sitelinks Search Box
98+
site_links_search_box = false
99+
100+
101+
# Menu items
102+
[[extra.menu.main]]
103+
name = "Docs"
104+
section = "docs"
105+
url = "/docs/getting-started/introduction/"
106+
weight = 10
107+
108+
[[extra.menu.main]]
109+
name = "Blog"
110+
section = "blog"
111+
url = "/blog/"
112+
weight = 20
113+
114+
[[extra.menu.social]]
115+
name = "Matrix"
116+
pre = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-message-circle"><path d="M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"></path></svg>'
117+
url = "https://matrix.to/#/#nomacs:matrix.org"
118+
weight = 10
119+
120+
[[extra.menu.social]]
121+
name = "GitHub"
122+
pre = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-github"><path d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22"></path></svg>'
123+
url = "https://github.com/nomacs/nomacs"
124+
post = "v0.1.0"
125+
weight = 20
126+
127+
# Footer contents
128+
[extra.footer]
129+
info = 'Powered by <a href="https://www.getzola.org/">Zola</a> and <a href="https://github.com/aaranxu/adidoks">AdiDoks</a>'
43130

44-
[extra.theme]
45-
background = "#f7fade" #"#0b93c0" #"#6FCDBD"
46-
foreground = "#0b93c0" #"#f1f4d8" #"#FFF" # text and portrait border
47-
hover = "#a2ac85" #"#333" # link hover
131+
[[extra.footer.nav]]
132+
name = "Code of Conduct"
133+
url = "/docs/contributing/code-of-conduct/"
134+
weight = 20

content/_index.md

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
+++
2+
title = "nomacs - Image Lounge"
3+
4+
5+
# The homepage contents
6+
[extra]
7+
lead = 'nomacs is a free, open source image viewer, which supports multiple platforms. You can use it for viewing all common image formats including RAW and psd images.'
8+
url = "/docs/getting-started/introduction/"
9+
url_button = "Get started"
10+
repo_version = "GitHub v3.16"
11+
repo_license = "GNU General Public License v3.0."
12+
repo_url = "https://github.com/nomacs/nomacs"
13+
14+
# Menu items
15+
[[extra.menu.main]]
16+
name = "Docs"
17+
section = "docs"
18+
url = "/docs/getting-started/introduction/"
19+
weight = 10
20+
21+
[[extra.menu.main]]
22+
name = "Blog"
23+
section = "blog"
24+
url = "/blog/"
25+
weight = 20
26+
27+
[[extra.list]]
28+
title = "Image viewing"
29+
content = 'Supports the most common image formats including RAW.'
30+
31+
[[extra.list]]
32+
title = "Image editing"
33+
content = 'Supports cropping, resizing, rotating, and color adjustments, and more.'
34+
35+
[[extra.list]]
36+
title = "Viewer synchronization"
37+
content = "The same action (like panning, zooming, etc.) can be performed on multiple viewers, making comparing two images easy."
38+
39+
+++

content/authors/_index.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
+++
2+
title = "Authors"
3+
description = "The authurs of the blog articles."
4+
date = 2021-04-01T08:00:00+00:00
5+
updated = 2021-04-01T08:00:00+00:00
6+
draft = false
7+
8+
# If add a new author page in this section, please add a new item,
9+
# and the format is as follows:
10+
#
11+
# "author-name-in-url" = "the-full-path-of-the-author-page"
12+
#
13+
# Note: We use quoted keys here.
14+
[extra.author_pages]
15+
"markus-diem" = "authors/markus-diem.md"
16+
"stefan-fiel" = "authors/stefan-fiel.md"
17+
+++
18+
19+
The authors of the blog articles.

content/authors/markus-diem.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
+++
2+
title = "Markus Diem"
3+
description = "Creator of nomacs."
4+
date = 2024-02-12T16:50:46Z
5+
updated = 2024-02-12T16:50:46Z
6+
draft = false
7+
+++
8+
9+
Creator of **nomacs**.
10+
11+
[@diemmarkus](https://github.com/diemmarkus)

content/authors/stefan-fiel.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
+++
2+
title = "Stefan Fiel"
3+
description = "Creator of nomacs."
4+
date = 2024-02-12T17:05:37Z
5+
updated = 2024-02-12T17:05:37Z
6+
draft = false
7+
+++
8+
9+
Creator of **nomacs**.
10+
11+
[@sfiel](https://github.com/sfiel)

content/docs/_index.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
+++
2+
title = "Docs"
3+
description = "The documents of nomacs."
4+
date = 2024-02-12T18:21:28Z
5+
updated = 2024-02-12T18:21:28Z
6+
sort_by = "weight"
7+
weight = 1
8+
template = "docs/section.html"
9+
+++

content/docs/contributing/_index.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
+++
2+
title = "Contributing"
3+
description = "Find out how to contribute to nomacs."
4+
date = 2024-02-12T18:22:19Z
5+
updated = 2024-02-12T18:22:19Z
6+
template = "docs/section.html"
7+
sort_by = "weight"
8+
weight = 4
9+
draft = false
10+
+++
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
+++
2+
title = "Code of Conduct"
3+
description = "Contributor Covenant Code of Conduct."
4+
date = 2024-02-03T09:08:13Z
5+
updated = 2024-02-03T09:08:13Z
6+
draft = false
7+
weight = 420
8+
sort_by = "weight"
9+
template = "docs/page.html"
10+
11+
[extra]
12+
lead = "Contributor Covenant Code of Conduct."
13+
toc = true
14+
top = false
15+
+++
16+
17+
18+
## Our Pledge
19+
20+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
21+
22+
## Our Standards
23+
24+
Examples of behavior that contributes to creating a positive environment include:
25+
26+
* Using welcoming and inclusive language
27+
* Being respectful of differing viewpoints and experiences
28+
* Gracefully accepting constructive criticism
29+
* Focusing on what is best for the community
30+
* Showing empathy towards other community members
31+
32+
Examples of unacceptable behavior by participants include:
33+
34+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
35+
* Trolling, insulting/derogatory comments, and personal or political attacks
36+
* Public or private harassment
37+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
38+
* Other conduct which could reasonably be considered inappropriate in a professional setting
39+
40+
## Our Responsibilities
41+
42+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
43+
44+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
45+
46+
## Scope
47+
48+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
49+
50+
## Enforcement
51+
52+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at <https://matrix.to/#/#nomacs:matrix.org>. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
53+
54+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
55+
56+
## Attribution
57+
58+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
59+
60+
[homepage]: http://contributor-covenant.org
61+
[version]: http://contributor-covenant.org/version/1/4/

0 commit comments

Comments
 (0)