To run this website locally, you will need to have the following software installed on your computer:
-
If you're using MacOS and Homebrew, you can install Hugo using the following command:
brew install hugo
-
If you're using a different operating system, you can find the installation instructions on the Hugo website.
-
The minimum version of Hugo required is available in config.toml under
[module.hugoVersion]key.
- Clone the repository:
git clone https://github.com/infraspecdev/infraspec.dev.git - Navigate to the directory:
cd infraspec.dev - Run the website locally:
hugo server - View the website in your browser at
http://localhost:1313
- Clone the repository (use this command:-
git clone https://github.com/infraspecdev/infraspec.dev.git) - Create
<yourfirstname>.md(change toyour-first-second-name.mdin case of conflict) file incontent/team. - Add
active: truein the front matter (optional, defaults to active if omitted). - Add your image in
static/images/team. Ensure that you use a faceshot and image is not too large(< 2MB). - Push changes in a branch
- See Netlify preview to check if everything is working as expected
- Get PR merged.
- Open that member file in
content/team/<name>.md. - Set
active: falsein front matter. - Open a PR and merge.
This keeps profile content/history in git while automatically hiding the member from /team/.
- In Netlify site settings, enable
Identity. - In Netlify
Identitysettings, enableGit Gateway. - Invite editors from Netlify
Identitytab (or enable open registration only if you want public signup). - Open
/admin/on your site and log in. - Edit any Team Member and toggle
Activeto offboard from UI. - The UI intentionally shows only essential fields (full name, job title, image, active, bio).
CMS config lives at static/admin/config.yml and admin page at static/admin/index.html.
Contributions are welcome! If you have any suggestions or find any bugs, please open an issue or create a pull request.
The pull requests support Netflify previews.
This project is licensed under the AGPL License.