mirror of
https://github.com/loot/loot.github.io.git
synced 2026-07-27 14:13:30 -07:00
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.
22 lines
398 B
TOML
22 lines
398 B
TOML
baseURL = 'https://loot.github.io/'
|
|
languageCode = 'en-us'
|
|
title = 'LOOT'
|
|
|
|
[outputs]
|
|
home = ['html']
|
|
page = ['html']
|
|
rss = ['rss']
|
|
section = ['html']
|
|
taxonomy = []
|
|
term = []
|
|
|
|
[module]
|
|
[[module.mounts]]
|
|
disableWatch = false
|
|
source = 'assets'
|
|
target = 'assets'
|
|
|
|
[[module.mounts]]
|
|
source = 'node_modules/material-design-lite'
|
|
target = 'assets/material-design-lite'
|