From f62866f1b219a64afd6eabef99e72a167f1aad29 Mon Sep 17 00:00:00 2001 From: Rolf Amfelt Date: Tue, 7 Mar 2023 18:52:01 +0100 Subject: [PATCH] New text and layout Prod --- _layouts/base.html | 158 ++++++++++++------------ _layouts/{base2.html => base_old.html} | 162 ++++++++++++------------- _layouts/code.html | 14 +-- _sections/code_da.md | 24 ---- _sections/code_en.md | 21 ++++ _sections/who2_da.md | 52 -------- _sections/who2_en.md | 51 -------- _sections/who_da.md | 62 ++++++---- _sections/who_da_old.md | 38 ++++++ _sections/who_en.md | 64 ++++++---- _sections/who_en_old.md | 33 +++++ index2_en.html => code_en.html | 2 +- index_en_old.html | 4 + index2.html => index_old.html | 2 +- 14 files changed, 344 insertions(+), 343 deletions(-) rename _layouts/{base2.html => base_old.html} (64%) create mode 100644 _sections/code_en.md delete mode 100644 _sections/who2_da.md delete mode 100644 _sections/who2_en.md create mode 100644 _sections/who_da_old.md create mode 100644 _sections/who_en_old.md rename index2_en.html => code_en.html (60%) create mode 100644 index_en_old.html rename index2.html => index_old.html (60%) diff --git a/_layouts/base.html b/_layouts/base.html index 61bf89f..885740d 100644 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -1,9 +1,9 @@ {% assign title = 'title_' | append: page.language %} -{% assign menu_tagline = 'menu_tagline_' | append: page.language %} {% assign menu_item_1 = 'menu_item_1_' | append: page.language %} {% assign menu_item_2 = 'menu_item_2_' | append: page.language %} {% assign menu_item_3 = 'menu_item_3_' | append: page.language %} +{% assign menu_item_4 = 'menu_item_4_' | append: page.language %} {% assign section_events_title = 'section_events_title_' | append: page.language %} {% assign section_events_time = 'section_events_time_' | append: page.language %} @@ -11,13 +11,16 @@ {% assign section_where_title = 'section_where_title_' | append: page.language %} {% assign section_where_address = 'section_where_address_' | append: page.language %} +{% assign menu_code = 'menu_code_' | append: page.language %} + {% capture section_who %}{% include who_{{page.language}}.md %}{% endcapture %} +{% capture section_code %}{% include code_{{page.language}}.md %}{% endcapture %} - + {{ site.data.strings[title] }} @@ -33,7 +36,30 @@ @@ -93,43 +99,9 @@
{{ section_who | markdownify }} -
+ +
- - - -
-
-

{{ site.data.strings[section_events_title] }}

-
- -
- - {% for event in site.data.events %} -
-
-

- {% if page.language == "en" %} - {{ event.english_title }} - {% else %} - {{ event.danish_title }} - {% endif %} -

-

- {% if page.language == "en" %} - {{ event.english_text }} - {% else %} - {{ event.danish_text }} - {% endif %} -

-

- {{ site.data.strings[section_events_time] }}
- {{ event.time }} -

-
-
- {% endfor %} -
@@ -139,6 +111,14 @@

{{ site.data.strings[section_where_title] }}


+

+

+ {{ site.data.strings[section_where_address] }}
+ Cafe Mellemrummet
+ Ravnsborggade 11
+ 2200 København Nørrebro +
+

@@ -180,20 +160,46 @@ interactions: [], // No dragging or other funny biz }); - -

-

- {{ site.data.strings[section_where_address] }}
- Cafe Mellemrummet
- Ravnsborggade 11
- 2200 København Nørrebro -
-

- +
+
+

{{ site.data.strings[section_events_title] }}

+
+ +
+ + {% for event in site.data.events %} +
+
+

+ {% if page.language == "en" %} + {{ event.english_title }} + {% else %} + {{ event.danish_title }} + {% endif %} +

+

+ {% if page.language == "en" %} + {{ event.english_text }} + {% else %} + {{ event.danish_text }} + {% endif %} +

+

+ {{ site.data.strings[section_events_time] }}
+ {{ event.time }} +

+
+
+ {% endfor %} + +
+
+
+ + +
+
+

{{ site.data.strings[section_events_title] }}

+
+ +
+ + {% for event in site.data.events %} +
+
+

+ {% if page.language == "en" %} + {{ event.english_title }} + {% else %} + {{ event.danish_title }} + {% endif %} +

+

+ {% if page.language == "en" %} + {{ event.english_text }} + {% else %} + {{ event.danish_text }} + {% endif %} +

+

+ {{ site.data.strings[section_events_time] }}
+ {{ event.time }} +

+
+
+ {% endfor %} +
@@ -111,14 +139,6 @@

{{ site.data.strings[section_where_title] }}


-

-

- {{ site.data.strings[section_where_address] }}
- Cafe Mellemrummet
- Ravnsborggade 11
- 2200 København Nørrebro -
-

@@ -160,46 +180,20 @@ interactions: [], // No dragging or other funny biz }); + +

+

+ {{ site.data.strings[section_where_address] }}
+ Cafe Mellemrummet
+ Ravnsborggade 11
+ 2200 København Nørrebro +
+

+ -
-
-

{{ site.data.strings[section_events_title] }}

-
- -
- - {% for event in site.data.events %} -
-
-

- {% if page.language == "en" %} - {{ event.english_title }} - {% else %} - {{ event.danish_title }} - {% endif %} -

-

- {% if page.language == "en" %} - {{ event.english_text }} - {% else %} - {{ event.danish_text }} - {% endif %} -

-

- {{ site.data.strings[section_events_time] }}
- {{ event.time }} -

-
-
- {% endfor %} - -
-
-
-