From: Pieter De Praetere Date: Sun, 27 Dec 2020 14:23:56 +0000 (+0100) Subject: Example stand X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08e6d50b5e0aad3b25cb7057e513c5a34aa835d2;p=stands-website.git Example stand --- diff --git a/content/stands/fosdem/_index.md b/content/stands/fosdem/_index.md new file mode 100644 index 0000000..5ff8d80 --- /dev/null +++ b/content/stands/fosdem/_index.md @@ -0,0 +1,44 @@ +--- +title: FOSDEM +theme: Community advocacy +website: https://www.fosdem.org +logo: stands/fosdem/cogweel.png +description: | +

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.

+ +showcase: | +

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!

+ +
Our programme at FOSDEM:
+ + +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 index 0000000..dab6610 --- /dev/null +++ b/content/stands/fosdem/page1.md @@ -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 index 0000000..e5775eb --- /dev/null +++ b/content/stands/fosdem/page2.md @@ -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 index 0000000..3dfcf79 Binary files /dev/null and b/static/stands/fosdem/cogweel.png differ diff --git a/themes/fosdem/layouts/_default/baseof.html b/themes/fosdem/layouts/_default/baseof.html index 751d1f6..5031979 100644 --- a/themes/fosdem/layouts/_default/baseof.html +++ b/themes/fosdem/layouts/_default/baseof.html @@ -1,7 +1,22 @@ - {{- partial "head.html" . -}} + + + + + + + + + + + {{ block "title" . }} + {{ .Site.Title }} + {{ end }} + + + {{- partial "header.html" . -}} diff --git a/themes/fosdem/layouts/partials/head.html b/themes/fosdem/layouts/partials/head.html deleted file mode 100644 index 494c9a5..0000000 --- a/themes/fosdem/layouts/partials/head.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - -{{ block "title" . }} -{{ .Site.Title }} -{{ end }} - - - \ No newline at end of file diff --git a/themes/fosdem/layouts/stands/single.html b/themes/fosdem/layouts/stands/single.html index e74ef3b..205c997 100644 --- a/themes/fosdem/layouts/stands/single.html +++ b/themes/fosdem/layouts/stands/single.html @@ -1,5 +1,19 @@ +{{ define "title" }} +{{ .Parent.Title }} - {{ .Title }} +{{ end }} {{ define "main" }}
+
+
+ +
+
{{ .Content }} diff --git a/themes/fosdem/layouts/stands/stand.html b/themes/fosdem/layouts/stands/stand.html index c79204e..35f127b 100644 --- a/themes/fosdem/layouts/stands/stand.html +++ b/themes/fosdem/layouts/stands/stand.html @@ -1,5 +1,5 @@ {{ define "title" }} -{{ .Params.Title }} +{{ .Params.Theme}} - {{ .Params.Title }} {{ end }} {{ define "main" }}
@@ -20,7 +20,7 @@
- {{ .Params.Description }} + {{ .Params.Description | safeHTML }}
@@ -33,7 +33,7 @@
- {{ .Params.Showcase }} + {{ .Params.Showcase | safeHTML }}
@@ -43,8 +43,8 @@
The {{ .Params.Title }} stand
- {{ .Params.New_this_year }} + {{ .Params.New_this_year | safeHTML }}