diff --git a/.gitmodules b/.gitmodules index 11cd6c2..ce615e4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "themes/tailwind"] path = themes/tailwind url = https://github.com/tomowang/hugo-theme-tailwind.git +[submodule "themes/hugo-arcana"] + path = themes/hugo-arcana + url = https://github.com/half-duplex/hugo-arcana.git diff --git a/config.yml b/config.yml index b33e8f9..69b521b 100644 --- a/config.yml +++ b/config.yml @@ -2,21 +2,14 @@ baseURL: https://bglug.it languageCode: it-IT title: BgLUG +subtitle: Bergamo Linux Users Group +logo: logo_tondo.svg author: BgLUG -# theme: hugo-universal-theme -theme: tailwind -copyright: Bergamo Linux Users Group +theme: hugo-arcana +copyright: 2024 © Bergamo Linux Users Group paginate: 20 timeout: 60s -params: - contentTypeName: posts - header: - logo: logo_tondo.svg - footer: - since: 1854 - poweredby: true - taxonomies: tag: tags category: categories @@ -37,27 +30,45 @@ languages: pages: /pagine/ menus: main: - - identifier: eventi - name: Eventi - pageRef: events - weight: 0 + - identifier: home + name: Home + pageRef: / + weight: 1 - identifier: post name: Post pageRef: posts - weight: 1 + weight: 10 + - identifier: eventi + name: Eventi + pageRef: events + weight: 20 + - identifier: about + name: L'associazione + weight: 30 + - identifier: chi-siamo + name: Chi siamo + parent: about + weight: 31 + pageRef: /about/chi-siamo - identifier: dove-siamo name: Dove siamo - pageRef: pages/dove-siamo - weight: 2 + parent: about + pageRef: /about/dove-siamo + weight: 32 + - identifier: organigramma + name: Organigramma + parent: about + pageRef: /about/organigramma + weight: 33 + - identifer: segreteria + name: Segreteria + parent: about + pageRef: /about/segreteria + weight: 34 - identifier: privacy name: Privacy pageRef: pages/privacy-policy - # parent: chi-siamo - weight: 3 - - identifier: chi-siamo - name: Chi siamo - pageRef: pages/chi-siamo - weight: 4 + weight: 40 weight: 1 en: languageCode: en-US @@ -74,26 +85,45 @@ languages: pages: /pages/ menus: main: - - identifier: events - name: Events - pageRef: events - weight: 0 + - identifier: home + name: Home + pageRef: / + weight: 1 - identifier: posts name: Posts pageRef: posts - weight: 1 - - identifier: dove-siamo - name: Where - pageRef: pages/dove-siamo - weight: 2 + weight: 10 + - identifier: events + name: Events + pageRef: events + weight: 20 + - identifier: about + name: The association + weight: 30 + - identifier: who + parent: about + name: Who we are + pageRef: /about/who + weight: 31 + - identifier: where + parent: about + name: Where we are + pageRef: /about/where + weight: 32 + - identifier: organigramme + parent: about + name: Organigramme + pageRef: /about/organigramme + weight: 33 + - identifier: secretery + parent: about + name: Secretery + pageRef: /about/secretery + weight: 34 - identifier: privacy name: Privacy pageRef: pages/privacy-policy - weight: 3 - - identifier: chi-siamo - name: Who - pageRef: pages/chi-siamo - weight: 4 + weight: 40 weight: 2 defaultcontentlanguage: it diff --git a/data/it/homepage.yml b/data/it/homepage.yml new file mode 100644 index 0000000..303a04f --- /dev/null +++ b/data/it/homepage.yml @@ -0,0 +1,30 @@ +--- +banner: + enable: true + image: /images/banner.jpg + contents: "Cos'è il Bergamo Linux Users Group?" + button: + contents: "Scopri di più..." + url: about/chi-siamo +items: + - type: highlights + items_per_row: 2 + items: + - title: Eventi + icon: fa-calendar-day + url: eventi + content: > + Accorri agli eventi che organizziamo! Avrai modo di imparare tutto + quello che c'è da sapere sul software libero o *open source* + - title: Scuole + icon: fa-graduation-cap + url: scuole + content: > + Segui i nostri volontari nelle loro attività presso le scuole della + provincia di Bergamo + + - type: cta + contents: Vuoi aiutarci ad organizzare le nostre attività? + button: + contents: "Contattaci" + url: about/contatti diff --git a/static/banner.jpg b/static/banner.jpg new file mode 100644 index 0000000..ef93666 Binary files /dev/null and b/static/banner.jpg differ diff --git a/themes/hugo-arcana b/themes/hugo-arcana new file mode 160000 index 0000000..4243c0f --- /dev/null +++ b/themes/hugo-arcana @@ -0,0 +1 @@ +Subproject commit 4243c0f7c9d13cbc9c68f5afbaba504ffb76ac06 diff --git a/themes/tailwind b/themes/tailwind deleted file mode 160000 index 9dc72c5..0000000 --- a/themes/tailwind +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 9dc72c5ba801adb5440b598e16604b653a8cca2f