Example stand
authorPieter De Praetere <pieter.de.praetere@helptux.be>
Sun, 27 Dec 2020 14:23:56 +0000 (15:23 +0100)
committerPieter De Praetere <pieter.de.praetere@helptux.be>
Sun, 27 Dec 2020 14:23:56 +0000 (15:23 +0100)
content/stands/fosdem/_index.md [new file with mode: 0644]
content/stands/fosdem/page1.md [new file with mode: 0644]
content/stands/fosdem/page2.md [new file with mode: 0644]
static/stands/fosdem/cogweel.png [new file with mode: 0644]
themes/fosdem/layouts/_default/baseof.html
themes/fosdem/layouts/partials/head.html [deleted file]
themes/fosdem/layouts/stands/single.html
themes/fosdem/layouts/stands/stand.html

diff --git a/content/stands/fosdem/_index.md b/content/stands/fosdem/_index.md
new file mode 100644 (file)
index 0000000..5ff8d80
--- /dev/null
@@ -0,0 +1,44 @@
+---
+title: FOSDEM
+theme: Community advocacy
+website: https://www.fosdem.org
+logo: stands/fosdem/cogweel.png
+description: |
+    <p>FOSDEM is the yearly European free and open source developers meeting. Founded in 2000 as OSEM, it is currently celebrating its 21st edition, welcoming
+    over 8000 developers to the ULB campus in Brussels. With hundreds of speakers and projects talking about their newest ideas and developments, it is the
+    place to get in touch with projects and developers, keep up to date with latest developments and listen to the great minds in the field. The event is
+    totally free and is supported by donations, sponsorships and hundreds of volunteers.</p>
+
+showcase: |
+    <p>Come to our stand to meet the team behind FOSDEM, get up to date with the latest developments (will there be a FOSDEM in 2021? does G. really have a
+    moose suit? does the network team really exist?) and get a chance to get some of our limited swag. We'll also demo some of our applications, such as
+    the video box, the revamped volunteers tool and our respectable submission system. In short, something you definitely do not want to miss!</p>
+
+    <h5>Our programme at FOSDEM:</h5>
+    <ul class="list-unstyled">
+        <li>
+        <h6>Saturday</h6>
+        <ul class="list-unstyled">
+            <li><b>entire day</b>: enter in our raffle for a chance to win some Belgian beer</li>
+            <li><b>10:00 - 11:00</b>: meet our main video developer V. (chat)</li>
+            <li><b>13:00 - 14:00</b>: behind the scenes: FOSDEM setup (video)</li>
+            <li><b>16:00 - 17:00</b>: how do I sign up for volunteering (chat & video)</li>
+        </ul>
+        </li>
+        <li class="mt-2">
+        <h6>Sunday</h6>
+        <ul class="list-unstyled">
+            <li><b>entire day</b>: enter in our raffle for a chance to win some Belgian beer</li>
+            <li><b>10:00 - 10:30</b>: an inside look in the cloak room (video)</li>
+            <li><b>13:00 - 14:00</b>: Q&A with the mysterious network team (chat)</li>
+            <li><b>15:00 - 16:00</b>: announcement of the winners of our Belgian beer (chat)</li>
+        </ul>
+        </li>
+    </ul>
+
+new_this_year: |
+    In 2020
+
+layout: stand
+---
+Welcome to the FOSDEM stand!
\ No newline at end of file
diff --git a/content/stands/fosdem/page1.md b/content/stands/fosdem/page1.md
new file mode 100644 (file)
index 0000000..dab6610
--- /dev/null
@@ -0,0 +1,4 @@
+---
+title: Page 1
+---
+ABC
\ No newline at end of file
diff --git a/content/stands/fosdem/page2.md b/content/stands/fosdem/page2.md
new file mode 100644 (file)
index 0000000..e5775eb
--- /dev/null
@@ -0,0 +1,4 @@
+---
+title: Page 2
+---
+XYZ
\ No newline at end of file
diff --git a/static/stands/fosdem/cogweel.png b/static/stands/fosdem/cogweel.png
new file mode 100644 (file)
index 0000000..3dfcf79
Binary files /dev/null and b/static/stands/fosdem/cogweel.png differ
index 751d1f645fdd8809cc5641bac4376b14506c9223..50319796b3105edf72809d63772a339797adfedf 100644 (file)
@@ -1,7 +1,22 @@
 <!DOCTYPE html>
 <html>
     <head>
-    {{- partial "head.html" . -}}
+        <meta charset="utf-8">
+        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+        
+        <!-- Bootstrap CSS -->
+        <link rel="stylesheet" href="{{ "css/lib/bootstrap/4.5.3/bootstrap.min.css" | relURL}}">
+        
+        <!-- Bootstrap JS -->
+        <script src="{{ "js/lib/jquery/3.5.1/jquery-3.5.1.min.js" | relURL }}"></script>
+        <script src="{{ "js/lib/bootstrap/4.5.3/bootstrap.bundle.min.js" | relURL}}"></script>
+        
+        <title>{{ block "title" . }}
+        {{ .Site.Title }}
+        {{ end }}</title>
+        
+        <!-- Custom CSS -->
+        <link rel="stylesheet" href="{{ "css/fosdem.css" | relURL}}">
     </head>
     <body>
         {{- partial "header.html" . -}}
diff --git a/themes/fosdem/layouts/partials/head.html b/themes/fosdem/layouts/partials/head.html
deleted file mode 100644 (file)
index 494c9a5..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<meta charset="utf-8">
-<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
-
-<!-- Bootstrap CSS -->
-<link rel="stylesheet" href="{{ "css/lib/bootstrap/4.5.3/bootstrap.min.css" | relURL}}">
-
-<!-- Bootstrap JS -->
-<script src="{{ "js/lib/jquery/3.5.1/jquery-3.5.1.min.js" | relURL }}"></script>
-<script src="{{ "js/lib/bootstrap/4.5.3/bootstrap.bundle.min.js" | relURL}}"></script>
-
-<title>{{ block "title" . }}
-{{ .Site.Title }}
-{{ end }}</title>
-
-<!-- Custom CSS -->
-<link rel="stylesheet" href="{{ "css/fosdem.css" | relURL}}">
\ No newline at end of file
index e74ef3b95d517c4b650f545a7afe8327d1003fbf..205c99793158e5bc31350612d2aebfba08edfde8 100644 (file)
@@ -1,5 +1,19 @@
+{{ define "title" }}
+{{ .Parent.Title }} - {{ .Title }}
+{{ end }}
 {{ define "main" }}
 <div class="container">
+    <div class="row">
+        <div class="col">
+            <nav aria-label="breadcrumb">
+                <ol class="breadcrumb">
+                    <li class="breadcrumb-item"><a href="/themes/{{ .Parent.Params.Theme }}">{{ .Parent.Params.Theme }}</a></li>
+                    <li class="breadcrumb-item"><a href="{{ .Parent.Permalink }}">{{ .Parent.Title }}</a></li>
+                    <li class="breadcrumb-item active" aria-current="page"> {{ .Title }} </li>
+                </ol>
+            </nav>
+        </div>
+    </div>
     <div class="row">
         <div class="col">
             {{ .Content }}
index c79204e645122f4230cae1648ea59607fd76f03b..35f127b6eb8870af82a5c00807ef9c723f66a9ae 100644 (file)
@@ -1,5 +1,5 @@
 {{ define "title" }}
-{{ .Params.Title }}
+{{ .Params.Theme}} - {{ .Params.Title }}
 {{ end }}
 {{ define "main" }}
 <div class="container">
@@ -20,7 +20,7 @@
     </div>
     <div class="row mt-2">
         <div class="col">
-            {{ .Params.Description }}
+            {{ .Params.Description | safeHTML }}
         </div>
     </div>
     <div class="row mt-4">
@@ -33,7 +33,7 @@
                 </div>
                 <div class="row mt-2">
                     <div class="col">
-                        {{ .Params.Showcase }}
+                        {{ .Params.Showcase | safeHTML }}
                     </div>
                 </div>
             </div>
@@ -43,8 +43,8 @@
                 <div class="card-body">
                     <h5 class="card-title">The {{ .Params.Title }} stand</h5>
                     <ul class="list-group list-group-flush">
-                        <li class="list-group-item"><a href="https://chat.fosdem.org/stands/{{ .Params.Title }}">Chat with the team</a></li>
-                        <li class="list-group-item"><a href="https://video.fosdem.org/stands/{{ .Params.Title }}">Video's and demo's</a></li>
+                        <li class="list-group-item"><a href="https://chat.fosdem.org/stands/{{ .Params.Title }}">Chatroom</a></li>
+                        <li class="list-group-item"><a href="https://video.fosdem.org/stands/{{ .Params.Title }}">Video's</a></li>
                         {{ range .Pages }}
                         <li class="list-group-item"><a href="{{ .Permalink }}">{{ .Params.title }}</a></li>
                         {{ end }}
@@ -60,7 +60,7 @@
     </div>
     <div class="row mt-2">
         <div class="col">
-            {{ .Params.New_this_year }}
+            {{ .Params.New_this_year | safeHTML }}
         </div>
     </div>
 </div>