Skip to content

Commit cbd3791

Browse files
committed
feat(zola): move site to Zola
Signed-off-by: Laura Santamaria <[email protected]>
1 parent 3aa475c commit cbd3791

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+993
-34164
lines changed

README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ We’ve put together a comprehensive list of the projects hosted on GitHub in wh
66

77
To add or modify projects to the list on [https://redhatofficial.github.io](https://redhatofficial.github.io), either submit a pull request or create an issue in the [repo](https://github.com/RedHatOfficial/RedHatOfficial.github.io). Upon review, the site maintainers will merge the PR or change the content as requested. No direct merges will be accepted.
88

9-
All projects are stored in the `/app/data` directory in the `projects.json` file within the dev branch of this repo. Try to add your project alphabetically (just to make the file easier to search) and create a new object in the JSON that has:
9+
All projects are stored in the `/data` directory in the `projects.json` file within the dev branch of this repo. Try to add your project alphabetically (just to make the file easier to search) and create a new object in the JSON that has:
1010

1111
```js
1212
{
@@ -61,21 +61,25 @@ cd RedHatOfficial.github.io
6161

6262
## Building and running locally
6363

64-
To build and run this project in your local dev environment, follow the instructions below. Be sure you have [Node.js](https://nodejs.org/) installed before you start.
64+
To build and run this project in your local dev environment, first install [Rust](https://www.rust-lang.org/tools/install) and [Zola](https://www.getzola.org/documentation/getting-started/installation/). Then, run
6565

66-
1. Install dependencies: `npm install`
67-
2. Run the local development server: `npm start`
66+
```bash
67+
cd site
68+
zola serve
69+
```
6870

69-
The web page will start running on [localhost:8080](http://localhost:8080/).
71+
Go to the URL for the webserver (likely `localhost:1111`) to explore the site.
7072

7173
## Built with
7274

73-
This site was created using [Angular](https://angularjs.org/), [webpack](https://webpack.js.org/), [NPM](https://www.npmjs.com/), [Babel](https://babeljs.io/), [Sass](https://sass-lang.com/), and [Netlify](https://www.netlify.com/).
75+
This project is build and run using [Zola](https://www.getzola.org/), a Rust-based static site generator.
76+
77+
Under the hood, Zola uses [Tera](https://keats.github.io/tera/) for templating.
7478

7579
## Licensing
7680

7781
- [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) for the displayed page and primary license for this repository
78-
- [MIT](https://opensource.org/licenses/MIT) for the JavaScript
82+
- [MIT](https://opensource.org/licenses/MIT) for the small bits of Javascript within the HTML files
7983
- [CC0](https://creativecommons.org/share-your-work/public-domain/cc0/) for the HTML and CSS
8084

8185
Red Hat trademarks are not subject to the above license grants.

app/components/band/band.html

Lines changed: 0 additions & 5 deletions
This file was deleted.

app/components/band/band.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

app/components/bandheader/bandheader.html

Lines changed: 0 additions & 5 deletions
This file was deleted.

app/components/bandheader/bandheader.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

app/components/bandheader/bandheader.scss

Lines changed: 0 additions & 13 deletions
This file was deleted.

app/components/card/card.html

Lines changed: 0 additions & 30 deletions
This file was deleted.

app/components/card/card.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

app/components/card/card.scss

Lines changed: 0 additions & 64 deletions
This file was deleted.

app/components/dynamictable/dynamictable.html

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)