FOSSCET Website
The FOSSCET website documents all events conducted by the club. We also keep member profiles and op-ed blog posts.
Quick how-tos
- Add your member card
- Create a new form
- Create a new event entry
- Create a blog post
- Build and test the site locally
Add your member card
-
Create a file
<yourname>.mdinsrc/content/members/.
Example: If you want your username to benik, create filesrc/content/members/nik.md. -
Fill out the fields that you want in the frontmatter section (between the triple hyphens).
-
To upload an avatar, put the image in
./public/images/myavatar.png, and fill the form like so:avatar: /public/images/myavatar.png. -
Add more detailed content after the frontmatter.
Member card format:
Everything except name and avatar is optional.
---
name: <Your name>
pronouns: <Your pronouns>
avatar: <Link to an avatar image>
bio: <A quick, short bio>
website: <Link to your personal website>
github: <Link to your github profile>
codeberg: <Link to your codeberg profile>
linkedin: <Link to your linkedin profile>
instagram: <Link to your instagram profile>
mail: <You email address>
---
Detailed bio text. This is a really good space to introduce yourself.
This can be considerably longer than the `bio` field in the frontmatter.
Create a new form
- Create a file
my-form-id.mdinsrc/content/forms/. - See the sample in
src/content/forms/test.mdxfor more info.
Create a new event entry
- Create a file
event-name.mdinsrc/content/events/. - See the sample in
src/content/events/event_zero.mdxfor more info.
Create a blog post
- Create a file
post-name.mdinsrc/content/blog/. - See the sample in
src/content/blog/shortening-of-the-way/index.mdxfor more info. - Remember to remove
draft: truein the frontmatter before publishing.
Build
You need the following installed to get started:
OR
Clone and set up the repo
git clone https://codeberg.org/fosscet/website-src
cd website-src
pnpm i # or bun install
Run the dev server
pnpm run dev # or bun run dev
Build the site
pnpm run build # or bun run build
