The code behind hippoz.xyz
Find a file
2022-08-27 16:33:37 +03:00
out completely refactor css + visual improvements 2022-08-27 16:33:37 +03:00
src completely refactor css + visual improvements 2022-08-27 16:33:37 +03:00
.gitignore completely refactor css + visual improvements 2022-08-27 16:33:37 +03:00
LICENSE feat: custom static site generation 2021-10-17 00:05:22 +03:00
package-lock.json add projects page that uses gitea api 2021-10-18 21:54:41 +03:00
package.json add projects page that uses gitea api 2021-10-18 21:54:41 +03:00
README.md feat: custom static site generation 2021-10-17 00:05:22 +03:00
yarn.lock completely refactor website generator and add experimental fast nav system 2022-05-15 18:45:48 +03:00

homepage

This repository holds the entire source code of my website. It has a custom static site generation system.

Building

NPM/Yarn and Node are required.

npm install
npm start

This will "build" all of the necessary html files and place them into the out folder. The out folder now contains all the files necessary for the website, so it can be served somewhere.

Structure

src/components/ - Contains reusable components.

src/env/ - Contains configuration for how the website should be laid out/where it should get data from.

src/*.page.js - Files that end in .page.js will be "built" into html files. They must export a string.

buildconfig.js - Contains various parameters that alter the build process.

out/ - All generated html files will be placed in this folder. Note that by default it contains certain static content such as the css styles.