From 80afd33da3962205354cacd679af9a2f689eaf76 Mon Sep 17 00:00:00 2001 From: Timur Gordon <31495328+timurgordon@users.noreply.github.com> Date: Tue, 26 Mar 2024 10:21:43 -0400 Subject: [PATCH] Create script.md --- playbook/script.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 playbook/script.md diff --git a/playbook/script.md b/playbook/script.md new file mode 100644 index 0000000..279e07d --- /dev/null +++ b/playbook/script.md @@ -0,0 +1,41 @@ +```js +!!website.define + name:'www_ourphone_tf' + title:'Ourphone' + +!!website.template_add url:'https://github.com/freeflowuniverse/webcomponents/tree/main/zola' +``` + +we need to import the content so that we can use it to build the website +```js +!!website.doctree_add url:'https://github.com/ourworldventures/www_ourphone/tree/development/content' +!!website.doctree_add url:'https://github.com/threefoldfoundation/threefold_data' +``` + +here we add the pages we need from content to the website. + +```js +!!website.page_add + name: 'Ourphone' + collection: 'content' + file: 'ourphone.md' + homepage: true + +!!website.page_add + name: 'Buy Now' + collection: 'content' + file: 'buy_now.md' + +!!website.page_add + name: 'Specs' + collection: 'content' + file: 'specs.md' +``` + +now lets add a blog section + +```js +!!website.blog_add + file: 'realizing_the_promise.md' + collection: blog +```