This is the git repository for the Morello Project Website.
Inside of your Astro project, you'll see the following folders and files:
/
βββ public/
βββ src/
β βββ pages/
β βββ index.astro
β βββ resources
β βββcontent/
β βββdata/
β βββpages/
β βββrows/
β βββsections/
βββ package.json
The src/content/data
folder contains various lists of one-off items used in the site, namely the nav links, footer links and members. Any items added to these lists will be reflected in the website.
Pages can be edited via the relevant .md or mdx
files in the src/content/pages
folder. New pages containing the nav, header, footer and a body of rendered markdown content can be implemented by adding .md || .mdx
files to this folder (as with the cookies, conduct and governance pages). If rendered markdown content is not sufficient, please contact it-support@linaro.org to discuss implementing a new page.
The Src /content /rows folder contains a container for content of all of the pages row.
The Src /content /sections folder containes various list of items in section part of each page.
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
yarn install |
Installs dependencies |
yarn dev |
Starts local dev server at localhost:4321 |
yarn build |
Build your production site to ./dist/ |
yarn preview |
Preview your build locally, before deploying |
yarn astro ... |
Run CLI commands like astro add , astro check |
yarn astro -- --help |
Get help using the Astro CLI |
Feel free to check our documentation or jump into our Discord server.