-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
89752f7
commit c12538d
Showing
10 changed files
with
1,114 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TZ='Asia/Tokyo' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
_site | ||
_cache | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import lume from "lume/mod.ts"; | ||
import plugins from "./plugins.ts"; | ||
import { getCurrentVersion } from "lume/core/utils/lume_version.ts"; | ||
|
||
const site = lume({ | ||
src: "./src", | ||
}); | ||
|
||
site.use(plugins()); | ||
site.data("lumeVersion", getCurrentVersion()); | ||
|
||
site.ignore("README.md"); | ||
site.ignore("*.DS_Store"); | ||
site.ignore("archive"); | ||
|
||
// Script to copy generated readme to the repo profile folder | ||
site.script( | ||
"copyreadme", | ||
"cd _site && cp repo-readme.md ../profile/README.md", | ||
); | ||
// Execute scripts after build | ||
site.addEventListener("afterBuild", "copyreadme"); | ||
|
||
export default site; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"imports": { | ||
"lume/": "https://deno.land/x/[email protected]/" | ||
}, | ||
"tasks": { | ||
"lume": "echo \"import 'lume/cli.ts'\" | deno run --env-file -A -", | ||
"build": "deno task lume", | ||
"serve": "deno task lume -s", | ||
"format": "echo '=== Regular deno fmt... ===' && deno fmt --ignore=_dist && echo '=== Deno fmt for vento... ===' && deno fmt --unstable-component --ignore=_dist" | ||
}, | ||
"compilerOptions": { | ||
"types": [ | ||
"lume/types.ts" | ||
] | ||
} | ||
} |
Oops, something went wrong.