Update video links
authorPieter De Praetere <pieter.de.praetere@helptux.be>
Wed, 27 Jan 2021 21:52:15 +0000 (22:52 +0100)
committerPieter De Praetere <pieter.de.praetere@helptux.be>
Wed, 27 Jan 2021 21:52:15 +0000 (22:52 +0100)
scripts/create_skeleton_for_accepted_stands.py
themes/fosdem/layouts/stands/stand.html

index d1cffe2f8b59d9db153982b4b73465c3087a6b1d..6f3ca9799c5a5e7208abba85fed9fabb6fcac051 100644 (file)
@@ -43,7 +43,8 @@ def create_skeleton(path_name, stand_o):
         'description': stand_o['submission']['project']['description'],
         'showcase': stand_o['submission']['digital_edition']['showcase'],
         'new_this_year': stand_o['submission']['digital_edition']['new_this_year'],
-        'layout': 'stand'
+        'layout': 'stand',
+        'chatroom': stand_o['submission']['project']['chatroom']
     }
     _index = """---
 {0}---""".format(yaml.dump(_index_contents, default_flow_style=False))
index ef69ee76b96e01e426427c46dfb17fe9b71a2778..dc3873dd81080974b673efb3484f887b24ba8afc 100644 (file)
                     <ul class="list-group list-group-flush">
                         {{ if .Params.Chatroom }}
                         <li class="list-group-item"><a href="https://chat.fosdem.org/#/room/#{{ .Params.Chatroom }}-stand:fosdem.org">Chatroom</a></li>
+                        <li class="list-group-item"><a href="https://video.fosdem.org/2021/stands/{{ .Params.Chatroom }}">Video's</a></li>
                         {{ else }}
                         <li class="list-group-item"><a href="https://chat.fosdem.org/#/room/#{{ .File.TranslationBaseName }}-stand:fosdem.org">Chatroom</a></li>
+                        <li class="list-group-item"><a href="https://video.fosdem.org/2021/stands/{{ .File.TranslationBaseName }}">Video's</a></li>
                         {{ end }}
-                        <li class="list-group-item"><a href="https://video.fosdem.org/2021/stands/{{ .Params.Title }}">Video's</a></li>
                         {{ range .Pages }}
                         {{ if .Params.title }}
                         <li class="list-group-item"><a href="{{ .Permalink }}">{{ .Params.title }}</a></li>