14 Commits
Author SHA1 Message Date
Oliver Hamlet aa66a10fd8 Fetch contributors data at build time
It's currently easy to hit the GitHub API's rate limit just by refreshing the credits page a couple of times. The data doesn't change that frequently, so instead fetch it into a JSON file as part of the build process, have Hugo generate the page using the JSON file and a template, and deploy the site each day at midnight so that the live data is at most 24 hours old.
2026-01-11 22:57:28 +00:00
Oliver Hamlet 608864cc7d Vendor the JavaScript library dependencies
Use NPM to manage their versions: manually vendoring the libraries isn't feasible for Octokit, as its libraries aren't provided as single-file imports, and have nested dependencies of their own. Since NPM is needed to resolve that, use it for the other dependencies too.

Hugo's built-in bundling and minification support is used, though it means that the dependencies are duplicated within the scripts imported on different pages. I think that could be avoided by introducing a middle layer of JS assets that bundle the dependencies but aren't bundled themselves.
2026-01-11 17:52:18 +00:00
Oliver Hamlet c1194ac2ec Migrate from Jekyll to Hugo
Hugo is a lot easier to work with locally (especially on Windows), and
because it's not natively supported by GitHub Pages, it gets deployed
using GitHub Actions, so it's also easier to keep the version of Hugo in
sync between local builds and deployments.

I've compared the generated _site/ and public/ folders and they look
equivalent, except that Hugo also generates a sitemap: that can be
disabled, but it's good to have.
2026-01-11 17:48:57 +00:00
Oliver Hamlet 05a6154744 Replace GitHub.js and tomlify-j0.4 dependencies
With the official GitHub JS client and @ltd/j-toml respectively.

As part of this, turn the JS files into modules and load the
dependencies from inside the modules.
2022-08-24 16:50:45 +01:00
Oliver Hamlet 516e9bcd72 Add build instructions to readme 2022-08-23 19:48:12 +01:00
pStyl3andGitHub c48693cea1 Update links to use https instead http (#83)
* Update links to use https instead http
2021-05-18 22:32:45 +02:00
Oliver Hamlet 44f336ab8b Replace Octokat.js with Github.js
The latter is available via CDN while the former is not.
2016-10-19 20:41:16 +01:00
Frederik “Freso” S. Olesen d75378e4d9 Remove references to the LOOT wiki.
A few places, links to various pages were still referred to as "wiki
pages", and there were even a few links still going to the actual LOOT
GitHub wiki (only one is fixed here, the other is in loot/loot…).
2016-07-27 10:48:02 +02:00
Oliver Hamlet 354142f50f Update README. 2015-07-09 01:00:13 +01:00
Oliver Hamlet bd25135773 Strip unnecessary whitespace from vulcanized files. 2015-02-03 15:54:07 +00:00
Oliver Hamlet 32711485ca Vulcanize Polymer dependencies. 2014-12-16 21:56:50 +00:00
Frederik "Freso" S. Olesen 9a653dd26f Update README for LOOT vs. BOSS.
Also calling the static website for just "the website" instead of "the new
website", since LOOT hasn't had a website prior to this one. :)
2014-03-03 16:08:15 +01:00
WrinklyNinja 11bac66f8d Update README.md 2013-09-16 12:03:58 +01:00
WrinklyNinja ec26448a55 Initial commit 2013-09-14 10:52:15 -07:00