diff --git a/build.js b/build.js index 9abb517..bc552ed 100644 --- a/build.js +++ b/build.js @@ -137,7 +137,11 @@ export async function rollupOptions(config) { let frontHtml = ''; frontHtml += `
`; frontHtml += ``; - frontHtml += ``; + frontHtml += ` + +`; frontHtml += files.js ?.map(({ code }) => ``) @@ -183,12 +187,12 @@ export async function rollupOptions(config) { return options.fields .map( (field) => - `
${envValue( + `
${envValue( `{{${field}}}`, release[config.id].notes[0].fields[field] || '', )}
`, ) - .join(''); + .join('\n'); } function buildEntry() { diff --git a/package.json b/package.json index f138b93..46c3bb5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "anki-templates", "type": "module", - "version": "1.0.7", + "version": "1.0.8", "description": "", "scripts": { "test": "echo \"Error: no test specified\" && exit 1"