diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-11-27 21:13:39 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-11-27 21:13:39 -0400 |
commit | a65693efe23b97da173463f207979f81767d791c (patch) | |
tree | 75687a16de9476eebe68163deab7b037e125af70 /src/data | |
parent | 930bb9e0f1fc7167dbf53636246e3cd2de773774 (diff) |
data, content: embed scripts on static pages
Diffstat (limited to 'src/data')
-rw-r--r-- | src/data/things/static-page.js | 1 | ||||
-rw-r--r-- | src/data/yaml.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/data/things/static-page.js b/src/data/things/static-page.js index ab9c5f98..8a3fd10e 100644 --- a/src/data/things/static-page.js +++ b/src/data/things/static-page.js @@ -30,5 +30,6 @@ export class StaticPage extends Thing { directory: directory(), content: simpleString(), stylesheet: simpleString(), + script: simpleString(), }); } diff --git a/src/data/yaml.js b/src/data/yaml.js index 2c600341..dda06949 100644 --- a/src/data/yaml.js +++ b/src/data/yaml.js @@ -646,6 +646,7 @@ export const processStaticPageDocument = makeProcessDocument(T.StaticPage, { directory: 'Directory', stylesheet: 'Style', + script: 'Script', content: 'Content', }, }); |