Merge branch 'development_zola' of github.com:threefoldfoundation/www_threefold_io into development_zola
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -17,4 +17,5 @@ dist
|
|||||||
run*
|
run*
|
||||||
install*
|
install*
|
||||||
public
|
public
|
||||||
.done
|
.done
|
||||||
|
tailwindcss
|
||||||
|
|||||||
19
README.md
19
README.md
@@ -12,9 +12,9 @@ This website is administered by [ThreeFold's Web Admins](https://github.com/orgs
|
|||||||
## Getting started
|
## Getting started
|
||||||
|
|
||||||
1. Install `hero` if you don't have it
|
1. Install `hero` if you don't have it
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl https://raw.githubusercontent.com/freeflowuniverse/crystallib/development/scripts/installer_hero.sh > /tmp/hero_install.sh
|
curl -sL https://raw.githubusercontent.com/freeflowuniverse/crystallib/development/scripts/installer_hero.sh | bash
|
||||||
bash /tmp/hero_install.sh
|
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Clone repository
|
1. Clone repository
|
||||||
@@ -23,7 +23,12 @@ bash /tmp/hero_install.sh
|
|||||||
|
|
||||||
3. run playbook to preview website in browser
|
3. run playbook to preview website in browser
|
||||||
|
|
||||||
`hero zola -u https://github.com/threefoldfoundation/www_threefold_io/tree/development_zola/playbook` or `bash start.sh`
|
```bash
|
||||||
|
#is using branch development_zola
|
||||||
|
hero zola -u https://github.com/threefoldfoundation/www_threefold_io/tree/development_zola/playbook
|
||||||
|
#or in this repo, which does above
|
||||||
|
start.sh
|
||||||
|
```
|
||||||
|
|
||||||
4. save and publish changes
|
4. save and publish changes
|
||||||
|
|
||||||
@@ -31,12 +36,14 @@ bash /tmp/hero_install.sh
|
|||||||
|
|
||||||
This website is built with `hero`, using `zola` under the hood.
|
This website is built with `hero`, using `zola` under the hood.
|
||||||
|
|
||||||
Please see
|
```bash
|
||||||
|
#push changes
|
||||||
|
hero git push -f www_threefold_io -m 'some comment'
|
||||||
|
hero git push -f threefold_data -m 'some comment'
|
||||||
|
```
|
||||||
|
|
||||||
Finally, start a browsable local copy of the site that will respond to changes in the source files like this:
|
Finally, start a browsable local copy of the site that will respond to changes in the source files like this:
|
||||||
|
|
||||||
|
|
||||||
Zola will display a local address such as `http://127.0.0.1:1111` which you can click or copy and paste into your browser to view the site on your own machine.
|
Zola will display a local address such as `http://127.0.0.1:1111` which you can click or copy and paste into your browser to view the site on your own machine.
|
||||||
|
|
||||||
That's it—have fun!
|
That's it—have fun!
|
||||||
|
|||||||
3
content/about/.done
Normal file
3
content/about/.done
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
mission.png
|
||||||
|
people.png
|
||||||
|
people_2.png
|
||||||
1
content/home/.done
Normal file
1
content/home/.done
Normal file
@@ -0,0 +1 @@
|
|||||||
|
node_home.png
|
||||||
10
content/host/.done
Normal file
10
content/host/.done
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
expand_findyourfit_geometric.png
|
||||||
|
expand_header.png
|
||||||
|
farm_new.png
|
||||||
|
findfit.png
|
||||||
|
findfitgeometric.png
|
||||||
|
findyourfit.png
|
||||||
|
grid_wide_1.png
|
||||||
|
header_host.png
|
||||||
|
nodeheader.png
|
||||||
|
togethericon.png
|
||||||
BIN
content/host/grid_wide_1.png
Normal file
BIN
content/host/grid_wide_1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 260 KiB |
1
content/support/.done
Normal file
1
content/support/.done
Normal file
@@ -0,0 +1 @@
|
|||||||
|
support_header.png
|
||||||
@@ -18,6 +18,7 @@ Then we add the [doctrees]() we will use for the website. When we add a doctree,
|
|||||||
We use the following doctrees in our website:
|
We use the following doctrees in our website:
|
||||||
- `threefoldfoundation/threefold_data` for blogs, people and news.
|
- `threefoldfoundation/threefold_data` for blogs, people and news.
|
||||||
- `threefoldfoundation/www_threefold_io` for site content for pages.
|
- `threefoldfoundation/www_threefold_io` for site content for pages.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
// add collections to the website using their github url
|
// add collections to the website using their github url
|
||||||
!!website.doctree_add
|
!!website.doctree_add
|
||||||
@@ -25,7 +26,6 @@ We use the following doctrees in our website:
|
|||||||
branch: development_zola
|
branch: development_zola
|
||||||
pull: true
|
pull: true
|
||||||
|
|
||||||
|
|
||||||
!!website.doctree_add
|
!!website.doctree_add
|
||||||
url:'https://github.com/threefoldfoundation/threefold_data/tree/development_zola/content'
|
url:'https://github.com/threefoldfoundation/threefold_data/tree/development_zola/content'
|
||||||
pull: true
|
pull: true
|
||||||
|
|||||||
BIN
tailwindcss
BIN
tailwindcss
Binary file not shown.
Reference in New Issue
Block a user