Astra
This website is not the template
yixuanhuang.com is my personal website. It is shown here only to demonstrate what the design looks like in use. It is not open source, it is not a template, and no permission is granted to copy, adapt, scrape, or reproduce it, in whole or in part. See the Copyright & Usage Notice for the full terms.
The only material you may build on is the two repositories below, Astra-Mini and Astra-Lite, and only under the licence each of them carries.
Astra is a pair of academic website templates I wrote and released: a homepage that looks finished without a framework, a build step, or a configuration file. Both editions are plain HTML, one stylesheet, and a few lines of JavaScript. You edit the page and push it anywhere that serves static files.
The two editions
The editions share one visual system—the same type scale, spacing, colours and responsive rules—so a website can move between them without being redesigned.
| Astra-Mini | Astra-Lite | |
|---|---|---|
| Pages | 1 | 4: home, projects, news, contact |
| Navigation | None | Shared bar |
| Footer | Inline | Shared fragment |
| Theme | Follows the reader's system setting | Follows the reader's system setting |
| Build step | None | None |
What the design does
The type scale, spacing rhythm, colour roles and responsive breakpoints are the ones I use on this website, so an academic page built with Astra reads the same way: a reading column that stays legible at any width, headings that carry the hierarchy without decoration, and a light and dark appearance that follow the reader rather than a switch. Nothing is themed per page; a single stylesheet holds the whole system.
You can see the result on the website you are reading. The homepage, the projects list, and the blog index are all built on the same scale and spacing that Astra ships.
Using it
Clone the edition you want, edit index.html, and deploy the directory to any static
host. There is nothing to install and nothing to regenerate.
git clone https://github.com/yixnhuang/astra-lite.git
cd astra-lite
python -m http.server
Licence
Both repositories are released under CC BY-NC-SA 4.0. You may use them, adapt them, and share your adaptations, for non-commercial purposes, with attribution, and on the same terms. Commercial use needs written permission, which you can request through the Contact page.
The licence covers those two repositories only. It does not extend to this website, its content, or its source.