Skip to content

Jakobeha/jakobeha.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal Site

My (Jakob Hain's) personal site. It uses a really basic template system (see build/README.md) for details.

Building

build.sh builds site to build. You must have LuaJIT installed.

watch.sh launches a file-watcher and live-server. You must have node.js and pnpm installed.

deploy.sh to deploy to {yourname}.github.io. The actual code branch must be named develop and the branch with the rendered site will be site. You also have to do some configuration on GitHub.

File structure

  • /build: Contains the build scripts which turn /site into /dist.
  • /site: Contains assets.
    • /site/static: Contains static assets.
    • /site/fragments contains fragments which are stitched together by the build scripts and data from root.json and pages.json.
    • /site/pages contains the almost-complete webpages.
    • /site/root.json contains site data.
    • /site/pages.json specifically loads the webpages and wraps them in boilerplate, and this is the entry-point for the builder.
  • /dist (excluded from Git): contains the output site.
  • build.sh = build/build.lua = build script, watch.sh = watch/index.mjs = live-server and file-watcher.

Distribution

Cloning this and creating your own site is fine, just make sure to keep the MIT license somewhere.

About

new personal site with a small template engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages