From e9bb230146e49d4b490d773608ed295a71753b26 Mon Sep 17 00:00:00 2001 From: Pieter De Praetere Date: Mon, 18 Jan 2021 21:47:28 +0100 Subject: [PATCH] Changes for stands without a title --- .gitmodules | 6 ++++++ README.md | 2 ++ content/stands/box86 | 1 + .../{box86_-_linux_userspace_x86_emulator.md => box86.md} | 0 static/stands/box86 | 1 + themes/fosdem/layouts/stands/single.html | 8 +++++++- themes/fosdem/layouts/stands/stand.html | 4 ++++ 7 files changed, 21 insertions(+), 1 deletion(-) create mode 160000 content/stands/box86 rename content/stands/{box86_-_linux_userspace_x86_emulator.md => box86.md} (100%) create mode 160000 static/stands/box86 diff --git a/.gitmodules b/.gitmodules index 7026153..3719faf 100644 --- a/.gitmodules +++ b/.gitmodules @@ -37,3 +37,9 @@ url = https://git.fsfe.org/FSFE/fosdem21-static.git [submodule "content/stands/postgresql"] path = content/stands/postgresql url = https://git.postgresql.org/git/fosdem2021-content.git +[submodule "static/stands/box86"] + path = static/stands/box86 + url = https://github.com/rajdakin/box86-fosdem2021-static.git +[submodule "content/stands/box86"] + path = content/stands/box86 + url = https://github.com/rajdakin/box86-fosdem2021-content.git diff --git a/README.md b/README.md index f0c80c4..c703220 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,8 @@ layout: stand All other files can by any content Hugo accepts (HTML, MD). +You must provide a _title_ parameter in the front matter of your other pages; otherwise the links will not work. + ## Technical details diff --git a/content/stands/box86 b/content/stands/box86 new file mode 160000 index 0000000..0230954 --- /dev/null +++ b/content/stands/box86 @@ -0,0 +1 @@ +Subproject commit 023095417b1b4c17093c617aaa4b0d792e037f7c diff --git a/content/stands/box86_-_linux_userspace_x86_emulator.md b/content/stands/box86.md similarity index 100% rename from content/stands/box86_-_linux_userspace_x86_emulator.md rename to content/stands/box86.md diff --git a/static/stands/box86 b/static/stands/box86 new file mode 160000 index 0000000..66639c6 --- /dev/null +++ b/static/stands/box86 @@ -0,0 +1 @@ +Subproject commit 66639c6a7026b54680ea48f6b084daa601bbb10e diff --git a/themes/fosdem/layouts/stands/single.html b/themes/fosdem/layouts/stands/single.html index 205c997..4901264 100644 --- a/themes/fosdem/layouts/stands/single.html +++ b/themes/fosdem/layouts/stands/single.html @@ -7,9 +7,15 @@
diff --git a/themes/fosdem/layouts/stands/stand.html b/themes/fosdem/layouts/stands/stand.html index 240e7b5..61b79dd 100644 --- a/themes/fosdem/layouts/stands/stand.html +++ b/themes/fosdem/layouts/stands/stand.html @@ -51,7 +51,11 @@
  • Chatroom
  • Video's
  • {{ range .Pages }} + {{ if .Params.title }}
  • {{ .Params.title }}
  • + {{ else }} +
  • {{ .File.TranslationBaseName }}
  • + {{ end }} {{ end }} -- 2.30.2