Welcome to FOSDEM 2021. This year, we have an experimental digital-only setup for reasons I think you all know.
The stands.fosdem.org exhibition website is a static website generated with Hugo. There is a general part, created by FOSDEM, containing an overview of each stand, a thematic ordering and some general information, and a stand-specific part.
We create the general part and will seed the stand-specific part with what you provided during your submission in the project name.md. You can update the contents of the file (via a pull request), but please make sure you do not remove any of the variables in the front matter, otherwise the generator will crash.
We've asked for two repositories from you, one with the content (Hugo content files) and one with static files. These repositories do not have to contain anything else but .md (or .html) files and images respectively. The stand pages will keep the theme we created.
However, if you wish to provide an added experience, you can link to other pages on your own website. We ask however that you (a) keep the stand information on stands.fosdem.org, that (b) you make sure that visitors know they are not longer on the FOSDEM website and (c) they can easily go back to stands.fosdem.org (e.g. to look at other stands).
The structure in your directories is flat (no hierarchy in sub folders). If you wish to create additional hierarchical subfolders, please contact us and we will set it up.
We automatically generate a link to your video repository and the chatroom.
Your stand will live under stands.fosdem.org/stands/.
We need two repositories from you, one containing your content (pages) and one containing your static files. All files should go directly in the root of that repository (you should not create a hugo site, it is not necessary).
To add your content to the main website, two options are possible:
- Send us an e-mail with both repositories. We will add them as git submodules; content under content/stands/your_stand_name (the name of your stand, or at least the directory, is the same name as the .md file already in content/stands (minus the extension)) and static files under static/stands/your_stand_name.
- Fork and clone this repository, add them yourself (respect the paths please) and create a pull request.
A cronjob will pull the code and rebuild the website every hour.
If you wish to test your changes locally, you'll have to clone this repository, add the submodules as described above (synchronise them by executing git submodule init and git submodule update) and test them with hugo serve. Any changes must be made in your local repositories.
If you wish to change anything in the content/stands/.md file (which you can and should), please open a pull request.
We will clone the repositories you provided in two locations (corresponding to the path stands/).
content/stands/<your stand>
- location of the content files (Hugo documentation).static/stands/<your stand>
- location of any static files (images, logo's, etc.).
content/stands/<your stand>.md
- generated by our custom highly advanced (;-)) script based on what you provided in your submission.
The contents of the .md file can be changed as you wish, but please make sure you do not remove any of the variables (changing the content is fine) of the front matter, otherwise the generator will not work. Please do not change the theme or the layout.
---
title: _Project_
themes:
- _Theme (please do not change from the one already in the repository)_
website: _Your website_
logo: stands/_Project_/_Logo filename_
description: |
_Short description of your project (5 lines)_
showcase: |
_Showcase: explain why people should come to your stand. You can use HTML (p, ul, etc.)_
new_this_year: |
_What has happened in 2020 to your project? You can use HTML (p, ul, etc.)_
layout: stand
chatroom: _Room name in pentabarf_
---
All other files can by any content Hugo accepts (HTML, MD).
You must provide a title parameter in the front matter of your other pages; otherwise the links will not work.
Each stand will have a dedicated chatroom, created based on the information in pentabarf. Your chat room name is the same name as the room you are scheduled in in pentabarf.
We have put the name of the chatroom as chatroom on all stands pages. However, if you provided your own _index.md file, you must add this parameter, otherwise your chatroom link will not be functional. You cannot change this yourself.
Each chatroom will have the two contacts listed in your submission (and who created an account in Pentabarf) as moderator. Additionally, all FOSDEM staff will be given the same role. Moderators can invite other moderators, but note that you require a Matrix account for this.
Because of our strict security settings, you cannot embed video's from Youtube (or any other video hosting site) - only from video.fosdem.org.
You can upload video's via penta.fosdem.org, where everybody should have an account (if not, contact stands_at_fosdem.org). The exact process is not automated yet, so you will have to send an e-mail to stands_at_fosdem.org and we will provide you with the upload link.
Upload the video, it will be converted by our system. Afterwards, you review and approve the video, which will then be live.
You can embed the video; the links will be of the form https://video.fosdem.org/2021/stands/\_chatroom\_name\_\_video1.mp4.
Whatever you put as content of any file (or the contents of _index.md) will appear in the resulting HTML page as follows.
<html>
<head>
[FOSDEM Head]
</head>
<body>
[FOSDEM Header]
<div class="container">
<div class="row">
<div class="col">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
[FOSDEM Generated breadcrumb]
</ol>
</nav>
</div>
</div>
<div class="row">
<div class="col">
[Your content]
</div>
</div>
</div>
[FOSDEM Footer]
</body>
</html>
We use Bootstrap (4.5) for styling, so you can as well. jQuery is included (for Bootstrap), so you can use it.
Please note that you cannot load any assets (images, css or js) from any other domain than stands.fosdem.org.
To test your changes locally, this is what you can do (you'll need the Hugo binary).
- Clone the repository.
- Put your content directly in content/stands/your stand and static/stands/your stand. We use submodules to link everything together, so your content must go there directly.
- Run hugo serve.
- Profit!
If you notice anything amiss, let us know via stands_at_fosdem_dot_org. Or open a pull request ;-)
We realise this is certainly not the best possible option, but while we are fairly confident we can organise a physical edition, going virtual is new for us as well. If you have any ideas for improvements, feedback or anything else, please contact us at stands_at_fosdem_dot_org. Or open a pull request ;-)