From: Pieter De Praetere Date: Sat, 2 Jan 2021 15:13:05 +0000 (+0100) Subject: We continue X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d019f2a6f794ceab3fabc61145ccd87b42a45191;p=stands-website.git We continue --- diff --git a/content/stands/fosdem/_index.md b/content/stands/fosdem/_index.md index 26c0247..0ebe8db 100644 --- a/content/stands/fosdem/_index.md +++ b/content/stands/fosdem/_index.md @@ -1,6 +1,7 @@ --- title: FOSDEM -theme: Community advocacy +themes: + - Community advocacy website: https://www.fosdem.org logo: stands/fosdem/cogweel.png description: | diff --git a/content/themes/community-advocacy/_index.md b/content/themes/community-advocacy/_index.md new file mode 100644 index 0000000..5d59994 --- /dev/null +++ b/content/themes/community-advocacy/_index.md @@ -0,0 +1,7 @@ +--- +title: Community advocacy +description: | + Free and Open Source software is made by communities. These stands have one thing in common: creating communities and + bringing them together. +logo: img/lib/material-icons/community-advocacy.svg +--- \ No newline at end of file diff --git a/content/themes/world-wide-web/_index.md b/content/themes/world-wide-web/_index.md new file mode 100644 index 0000000..e5a6630 --- /dev/null +++ b/content/themes/world-wide-web/_index.md @@ -0,0 +1,7 @@ +--- +title: World wide web +description: | + Free and Open Source software is made by communities. These stands have one thing in common: creating communities and + bringing them together. +logo: img/lib/material-icons/community-advocacy.svg +--- \ No newline at end of file diff --git a/themes/fosdem/layouts/stands/list.html b/themes/fosdem/layouts/stands/list.html index 54d941a..7d59f54 100644 --- a/themes/fosdem/layouts/stands/list.html +++ b/themes/fosdem/layouts/stands/list.html @@ -12,7 +12,9 @@
{{ .Params.title }}

{{ .Params.description }}

-

{{ .Params.theme }}

+ {{ range (.GetTerms "themes") }} +

{{ .LinkTitle }}

+ {{ end }}
diff --git a/themes/fosdem/layouts/stands/stand.html b/themes/fosdem/layouts/stands/stand.html index 35f127b..240e7b5 100644 --- a/themes/fosdem/layouts/stands/stand.html +++ b/themes/fosdem/layouts/stands/stand.html @@ -1,5 +1,8 @@ {{ define "title" }} -{{ .Params.Theme}} - {{ .Params.Title }} +{{ range (.GetTerms "themes") -}} +{{ .LinkTitle }} - +{{ end -}} +{{ .Params.Title }} {{ end }} {{ define "main" }}
@@ -7,7 +10,9 @@
diff --git a/themes/fosdem/layouts/themes/taxonomy.html b/themes/fosdem/layouts/themes/taxonomy.html new file mode 100644 index 0000000..96c57a3 --- /dev/null +++ b/themes/fosdem/layouts/themes/taxonomy.html @@ -0,0 +1,27 @@ +{{ define "main" }} +
+
+
+

Welcome to the {{ .Title }} corner!

+
+
+
+
+

{{ .Params.Description }}

+
+
+
+ {{ range .Pages }} +
+
+ {{ .Params.Title }} logo +
+
{{ .Params.Title }}
+

{{ .Params.Description }}

+
+
+
+ {{ end }} +
+
+{{ end }} \ No newline at end of file diff --git a/themes/fosdem/layouts/themes/terms.html b/themes/fosdem/layouts/themes/terms.html new file mode 100644 index 0000000..2684f49 --- /dev/null +++ b/themes/fosdem/layouts/themes/terms.html @@ -0,0 +1,26 @@ +{{ define "main" }} +
+
+

Welcome to our themes page!

+
+
+
+

There are over 50 stands at FOSDEM, and it is not always easy to find what you are looking for. To ease your search, we have organised all stands per theme, so related projects are closer together.

+

Not only can you find your favourite stand easier and faster, but it also allows related projects to talk to each other and maybe collaborate on common issues. We encourage fraternizing!

+
+
+
+ {{ range .Data.Terms.ByCount }} +
+
+ {{ .Page.Title }} logo +
+
{{ .Page.Title }}
+

{{ .Page.Params.Description }}

+
+
+
+ {{ end }} +
+
+{{ end }} \ No newline at end of file diff --git a/themes/fosdem/static/css/fosdem.css b/themes/fosdem/static/css/fosdem.css index 500c3ea..dd44843 100644 --- a/themes/fosdem/static/css/fosdem.css +++ b/themes/fosdem/static/css/fosdem.css @@ -1,3 +1,51 @@ +@font-face { + font-family: 'Material Icons'; + font-style: normal; + font-weight: 400; + src: local('Material Icons'), + local('MaterialIcons-Regular'), + url(/css/lib/material-icons/4.0.0/MaterialIcons-Regular.woff2) format('woff2') +} + +.material-icons { + font-family: 'Material Icons'; + font-weight: normal; + font-style: normal; + font-size: 24px; /* Preferred icon size */ + display: inline-block; + line-height: 1; + text-transform: none; + letter-spacing: normal; + word-wrap: normal; + white-space: nowrap; + direction: ltr; + + /* Support for all WebKit browsers. */ + -webkit-font-smoothing: antialiased; + /* Support for Safari and Chrome. */ + text-rendering: optimizeLegibility; + + /* Support for Firefox. */ + -moz-osx-font-smoothing: grayscale; + + /* Support for IE. */ + font-feature-settings: 'liga'; +} + +/* Rules for sizing the icon. */ +.material-icons.md-18 { font-size: 18px; } +.material-icons.md-24 { font-size: 24px; } +.material-icons.md-36 { font-size: 36px; } +.material-icons.md-48 { font-size: 48px; } + +/* Rules for using icons as black on a light background. */ +.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); } +.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); } + +/* Rules for using icons as white on a dark background. */ +.material-icons.md-light { color: rgba(255, 255, 255, 1); } +.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); } + body { font-weight: normal; font-size: 14px; diff --git a/themes/fosdem/static/css/lib/material-icons/4.0.0/MaterialIcons-Regular.woff2 b/themes/fosdem/static/css/lib/material-icons/4.0.0/MaterialIcons-Regular.woff2 new file mode 100644 index 0000000..84084a5 Binary files /dev/null and b/themes/fosdem/static/css/lib/material-icons/4.0.0/MaterialIcons-Regular.woff2 differ diff --git a/themes/fosdem/static/img/lib/material-icons/community-advocacy.svg b/themes/fosdem/static/img/lib/material-icons/community-advocacy.svg new file mode 100644 index 0000000..1dcef1b --- /dev/null +++ b/themes/fosdem/static/img/lib/material-icons/community-advocacy.svg @@ -0,0 +1 @@ + \ No newline at end of file