From e767dbb076cb5e2de884ef5507c665aecaa01a2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?DataWeek=20CMEM=20Update=20Bot=20=F0=9F=A4=96?= Date: Mon, 12 Feb 2024 11:25:19 +0000 Subject: [PATCH 01/12] Update from CMEM --- graph.nt | 8 ++++++++ graph.nt.source | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/graph.nt b/graph.nt index 7251f262e..481ed4b94 100644 --- a/graph.nt +++ b/graph.nt @@ -404,6 +404,7 @@ . . . + . . . "Dienstag"@de . @@ -434,6 +435,13 @@ "Room 259"@en . . "str(?date) = \"2024-04-16\" && ?location = " . + "2024-04-16"^^ . + . + . + "Raum 270"@de . + "Room 270"@en . + . + "str(?date) = \"2024-04-16\" && ?location = " . "2024-04-16"^^ . . . diff --git a/graph.nt.source b/graph.nt.source index 53e593826..d077ced6f 100644 --- a/graph.nt.source +++ b/graph.nt.source @@ -1,2 +1,2 @@ git@github.com:AKSW/leipzig.dataweek.de-model.git -3878e8870eceaa4fe33ed76e1e0564d81eea5cf9 +4b2fd34f8a7965e8b22b143f7b355267cad27eea From 8223ecf631f76ec4069e5b4cd8766b6b389aa3f1 Mon Sep 17 00:00:00 2001 From: Norman Radtke Date: Mon, 12 Feb 2024 13:12:28 +0100 Subject: [PATCH 02/12] Select font size of submenu2 entries depending on item count. --- _includes/components/menu_sub2.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/_includes/components/menu_sub2.html b/_includes/components/menu_sub2.html index a51859e99..df44a94c5 100644 --- a/_includes/components/menu_sub2.html +++ b/_includes/components/menu_sub2.html @@ -9,8 +9,17 @@ {% assign current_page = page.rdf.render_path | relativize_url %} {% assign menu = menuResource | rdf_container %} +{%- if menu.size <= 6 -%} + {%- assign fontSize = 100 -%} +{%- elsif menu.size == 7 -%} + {% assign fontSize = 90 -%} +{%- elsif menu.size == 8 -%} + {% assign fontSize = 80 -%} +{%- else -%} + {%- assign fontSize = 70 -%} +{%- endif -%} -