1 Welcome to FOSDEM 2021. This year, we have an experimental digital-only setup for reasons I think you all know.
5 The stands.fosdem.org exhibition website is a static website generated with [Hugo](https://gohugo.io/). There is a general part,
6 created by FOSDEM, containing an overview of each stand, a thematic ordering and some general information, and a stand-specific part.
8 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
9 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](https://gohugo.io/content-management/front-matter/)_, otherwise the generator
12 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
13 to contain anything else but .md (or .html) files and images respectively. The stand pages will keep the theme we created.
15 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
16 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).
18 The structure in your directories is flat (no hierarchy in sub folders). If you wish to create additional hierarchical subfolders, please contact us
19 and we will set it up.
21 We automatically generate a link to your video repository and the chatroom.
23 Your stand will live under _stands.fosdem.org/stands/<your project>_.
27 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).
29 To add your content to the [main website](https://stands.fosdem.org), two options are possible:
31 * 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_.
32 * Fork and clone this repository, add them yourself (respect the paths please) and create a pull request.
34 A cronjob will pull the code and rebuild the website every hour.
36 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.
38 If you wish to change anything in the _content/stands/<your stand>.md_ file (which you can and should), please open a pull request.
40 ## Directory structure
42 We will clone the repositories you provided in two locations (corresponding to the path _stands/<your stand>_).
44 * `content/stands/<your stand>` - location of the content files ([Hugo documentation](https://gohugo.io/content-management/organization/)).
45 * `static/stands/<your stand>` - location of any static files (images, logo's, etc.).
49 ### _content/stands/<your stand>.md_
51 * `content/stands/<your stand>.md` - generated by our custom highly advanced (;-)) script based on what you provided in your submission.
53 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
54 is fine) of the _front matter_, otherwise the generator will not work. Please do not change the theme or the layout.
62 - _Theme (please do not change from the one already in the repository)_
63 website: _Your website_
64 logo: stands/_Project_/_Logo filename_
66 _Short description of your project (5 lines)_
69 _Showcase: explain why people should come to your stand. You can use HTML (p, ul, etc.)_
72 _What has happened in 2020 to your project? You can use HTML (p, ul, etc.)_
75 chatroom: _Room name in pentabarf_
81 All other files can by any content Hugo accepts (HTML, MD).
83 You must provide a _title_ parameter in the front matter of your other pages; otherwise the links will not work.
85 ## Chatroom functionality
87 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
88 scheduled in in pentabarf.
90 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.
92 Each chatroom will have the two contacts listed in your submission (and who created an account in Pentabarf) as _moderator_. Additionally, all FOSDEM staff
93 will be given the same role. Moderators can invite other moderators, but note that you require a Matrix account for this.
97 Because of our strict security settings, you cannot embed video's from Youtube (or any other video hosting site) - only from video.fosdem.org.
99 You can upload video's via [penta.fosdem.org](https://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.
101 Upload the video, it will be converted by our system. Afterwards, you review and approve the video, which will then be live.
103 You can embed the video; the links will be of the form _https://video.fosdem.org/2021/stands/\_chatroom\_name\_\_video1.mp4_.
107 Whatever you put as content of any file (or the contents of _\_index.md_) will appear in the resulting HTML page as follows.
115 <div class="container">
118 <nav aria-label="breadcrumb">
119 <ol class="breadcrumb">
120 [FOSDEM Generated breadcrumb]
136 We use Bootstrap (4.5) for styling, so you can as well. jQuery is included (for Bootstrap), so you can use it.
138 Please note that you cannot load any assets (images, css or js) from any other domain than stands.fosdem.org.
140 ## Local development environment
141 To test your changes locally, this is what you can do (you'll need the Hugo binary).
143 1. Clone the repository.
144 2. 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.
148 If you notice anything amiss, let us know via _stands\_at\_fosdem\_dot\_org_. Or open a pull request ;-)
152 We realise this is certainly not the best possible option, but while we are fairly confident we can organise a physical edition,
153 going virtual is new for us as well. If you have any ideas for improvements, feedback or anything else, please contact us
154 at _stands\_at\_fosdem\_dot\_org_. Or open a pull request ;-)