Compare commits

..

2 Commits

Author SHA1 Message Date
d23b5e3b8f Test if-statement. 2023-08-04 20:15:09 +02:00
0dc5cb2bc1 Fixes in build system... 2023-08-04 20:14:57 +02:00
3 changed files with 5 additions and 3 deletions

View File

@ -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)
}

View File

@ -32,7 +32,6 @@ function flattenObject(object) {
export default function parseTemplate(template, data) {
const flattenedData = flattenObject(data)
log("Loaded config:")
return template
// Syntax: {{ variableName }}

View File

@ -7,4 +7,6 @@
@use "buttons";
@use "forms";
@use "layouts/publishing";
{% if layouts.publishing %}
@use "layouts/publishing";
{% endif %}