klubFITpp / klubfitpp

Website for FIT++ club @ Studentská unie ČVUT

Home Page:https://www.klubfitpp.cz/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Making new event

Make a new markdown file in _events, the name should have the format YYYY-MM-DD-event.md where YYYY-MM-DD is the date of the event.

The first lines of the markdown file should contain a YAML header like this.

---
title: "Hello FIT! 2024"
layout: event             # Don't change this
categories:
  - HelloFIT
  - Akce
tags:
  - HelloFIT
  - Akce
img: "/assets/images/event/hello_fit_24.png"
---

The three dashes at the top and bottom are important. Change the title, categories and tags to be appropriate for the event. The img value is the url to the cover image, that will be shown on the title events page.

After the YAML header you are free to write anything you like.

Making a news article

Very similar to making a new event, the only difference is the directory _news.

The YAML header looks like this

---
title: "Nový web!"
layout: news    # Don't change this
categories:
  - Web
tags:
  - Web
img: "/assets/images/news/hello-fit-23.jpg"
short: "FIT++ má nový web!"
---

There is an extra value, short. That is the short text, that will be seen on the news page.

Adding a new document to the documents page

Add it to the yaml file _data/documents.yml. The structure should be obvious from what's there. You can add an other value to the documents section, that will be rendered as html in the bottom of the section. It is used on the per rollam vote, so you can look at that.

About

Website for FIT++ club @ Studentská unie ČVUT

https://www.klubfitpp.cz/


Languages

Language:CSS 75.8%Language:HTML 23.3%Language:JavaScript 0.6%Language:Ruby 0.3%