Compare commits
2 Commits
7a7b894bd5
...
d23b5e3b8f
Author | SHA1 | Date | |
---|---|---|---|
d23b5e3b8f | |||
0dc5cb2bc1 |
3
build.js
3
build.js
|
@ -61,6 +61,7 @@ export default function buildNebulosa(debug) {
|
|||
}
|
||||
|
||||
// If the file is run directly from the commandline, build Nebulosa.
|
||||
if (import.meta.url === `file://${process.argv[0]}`) {
|
||||
if (import.meta.url === `file://${process.argv[1]}`) {
|
||||
log("Building Nebulosa...")
|
||||
buildNebulosa(false)
|
||||
}
|
|
@ -32,7 +32,6 @@ function flattenObject(object) {
|
|||
|
||||
export default function parseTemplate(template, data) {
|
||||
const flattenedData = flattenObject(data)
|
||||
log("Loaded config:")
|
||||
|
||||
return template
|
||||
// Syntax: {{ variableName }}
|
||||
|
|
|
@ -7,4 +7,6 @@
|
|||
@use "buttons";
|
||||
@use "forms";
|
||||
|
||||
{% if layouts.publishing %}
|
||||
@use "layouts/publishing";
|
||||
{% endif %}
|
Loading…
Reference in New Issue
Block a user