Skip to content

krobbi/krobbi.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

krobbi.github.io

krobbi.github.io is my personal GitHub Pages website.

Static Site Generation

The site is fully static, meaning all of its pages are stored on the server with their content fully rendered. This improves page load performance and compatibility at the expense of storing larger files with duplicate data.

The static files are generated from this repository using the extended edition of Hugo. This is the only dependency. The site is automatically regenerated and deployed every time a deploy/YYYY-MM-DD-rN1 tag is pushed to GitHub.

GitHub Pages does not support server-side code, so static site generation is useful for creating reusable components and page layouts without repeating code2.

An alternative would be to use JavaScript etc. and build the pages client-side. This is sensible for web apps with many possible states, but for an ordinary website this can cause issues for screen readers, web crawlers, and older browsers.

License

The content that appears on the generated site, including text, images, and page designs is copyrighted with all rights reserved. Content embedded from other sites such as video or music players may be licensed differently. The code used for generating the site may be used freely as a reference.

See LICENSE.txt for a full copy of the license text.

Footnotes

  1. Year, month, day, revision number.

  2. In other words, it's DRY (don't repeat yourself.)