mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Try generating tv routes with eleventy
This commit is contained in:
parent
efeb39a07a
commit
ebdb7b681e
4 changed files with 2880 additions and 2 deletions
11
.eleventy.js
Normal file
11
.eleventy.js
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
module.exports = {
|
||||||
|
dir: {
|
||||||
|
input: 'pages',
|
||||||
|
output: 'dist',
|
||||||
|
jsDataFileSuffix: '.json',
|
||||||
|
|
||||||
|
// Relative to input directory.
|
||||||
|
data: '../static',
|
||||||
|
layouts: '../layouts'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -210,7 +210,7 @@ export default {
|
||||||
...homebrewRoutes,
|
...homebrewRoutes,
|
||||||
|
|
||||||
// Non-app routes
|
// Non-app routes
|
||||||
...videoRoutes,
|
// ...videoRoutes,
|
||||||
...categoryRoutes,
|
...categoryRoutes,
|
||||||
...benchmarkRoutes
|
...benchmarkRoutes
|
||||||
])
|
])
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,9 @@
|
||||||
"dev": "nuxt",
|
"dev": "nuxt",
|
||||||
"build": "nuxt build",
|
"build": "nuxt build",
|
||||||
"start": "nuxt start",
|
"start": "nuxt start",
|
||||||
"generate": "rm -f ./static/app-list.json && npm run clone-readme && nuxt generate",
|
"generate": "rm -f ./static/app-list.json && npm run clone-readme && npm run generate-nuxt && npm run generate-eleventy",
|
||||||
|
"generate-nust": "nuxt generate",
|
||||||
|
"generate-eleventy": "npx @11ty/eleventy",
|
||||||
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
|
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
|
||||||
"lint:fix": "eslint --fix --ext .js,.vue --ignore-path .gitignore .",
|
"lint:fix": "eslint --fix --ext .js,.vue --ignore-path .gitignore .",
|
||||||
"precommit": "npm run lint",
|
"precommit": "npm run lint",
|
||||||
|
|
|
||||||
2865
pages/tv.njk
Normal file
2865
pages/tv.njk
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue