This is a corporate website built with Zola - a static site generator written in Rust.
See: https://www.getzola.org/documentation/getting-started/installation/
git clone https://github.com/spacecubics/www
cd www
zola build
zola serve
-
Create a new file in
content/news/ -
Name it by date. ex)
2025-06-01.mdand2025-06-01.en.md -
Add title (string) and date (YYYY-MM-DD) variables to front matter.
-
Add link variable under [extra] if article has external link.
-
Add your news.
+++ title = "ใJAXAใใณใใฃใผใใฎ่ชๅฎ" date = 2018-05-29 [extra] link = "https://aerospacebiz.jaxa.jp/venture/" +++ Content here...
As shown above, there are two date values: one in the file name and
one in the date variable. We havenโt been able to remove the
redundant date field due to a limitation in Zola. See issue #114 for
details.
This repository is organized into only a few main folders...
- content -- Contains all the website pages
content/ โโโ _index.en.md # English homepage โโโ _index.md # Japanese homepage โโโ about_us.md # About us page โโโ about_us.en.md # About us English page โโโ contact/ # Contact forms โโโ ir_info/ # Investor relations โโโ news/ # News articles โโโ products/ # Products section โโโ recruit/ # Recruitment section - functions -- Contains JavaScript files used as Cloudflare Workers
- i18n -- Config files for Japanese and English
- sass -- Visual style files
- templates -- Contains HTML files
templates/ โโโ base.html # Main layout for site โโโ article.html # News article template (not currently used) โโโ macros/ # Other globally available template functions โโโ partials/ # Reusable page sections โ โโโ footer.html # Site footer โ โโโ nav.html # Site navigation header โโโ shortcodes/ # Custom components โโโ spec_sheet.html # Production specification component โโโ kv_list.html # Displays key-value set of text - static -- Contains site images and client-side JavaScript
static/ โโโ js/ # JavaScript that runs in the user's web browser โ โโโ nav-toggle.js # Navigation menu functionality โ โโโ nav-links.js # Navigation link handling โโโ logo_black.webp โโโ logo_white.webp โโโ sc-obc_module_a1.jpg
...and some important configuration files such as...
- config.toml
- netlify.toml
- wrangler.toml
- README.md
See doc/develop.md.
Please feel free to submit a pull request and/or post an issue.
Space Cubics, Inc.