From 6ebf8ce809a8b1b38674d8ab1fe271683150c282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Rudowicz?= Date: Sat, 21 Feb 2026 22:09:18 +0100 Subject: [PATCH] Initial Retro website version --- .forgejo/workflows/build-jekyll.yml | 27 +++++++++++++++++- _config_retro.yml | 41 ++++++++++++++++++++++++++++ _includes/footer.html | 6 ++++ _includes/header.html | 7 +++++ images/hswro-logo.gif | Bin 0 -> 1006 bytes 5 files changed, 80 insertions(+), 1 deletion(-) create mode 100755 _config_retro.yml create mode 100644 images/hswro-logo.gif diff --git a/.forgejo/workflows/build-jekyll.yml b/.forgejo/workflows/build-jekyll.yml index f13d9c1..c4b87d5 100644 --- a/.forgejo/workflows/build-jekyll.yml +++ b/.forgejo/workflows/build-jekyll.yml @@ -32,4 +32,29 @@ jobs: container: image: curlimages/curl:8.17.0 steps: - - run: curl -k -X POST ${{ secrets.RELOAD_PORTAINER_WEBHOOK }} + - run: curl -k -X POST ${{ secrets.RELOAD_PORTAINER_WEBHOOK }} + build_website_retro: + runs-on: docker + container: + image: git.hswro.org/hswro/hswro_org_build:latest + steps: + - uses: actions/checkout@v3 + - run: bundle exec jekyll build --config _config_retro.yml + - uses: actions/upload-artifact@v3 + with: + compression-level: 9 + include-hidden-files: true + name: generated-site + path: _site/ + build_and_push_container_retro: + runs-on: docker + if: github.ref == 'refs/heads/main' + env: + REGISTRY_OWNER: hswro + container: + image: git.hswro.org/hswro/hswro_org_build:latest + steps: + - uses: actions/checkout@v3 + - uses: actions/download-artifact@v3 + - run: cd generated-site && buildah build --file ../docker/serve.Dockerfile -t retro-hswro-org:latest + - run: buildah push --creds ${REGISTRY_OWNER}:${{ secrets.PUSH_PACKAGES_KEY }} retro-hswro-org:latest "docker://git.hswro.org/${REGISTRY_OWNER}/hswro_org:latest" diff --git a/_config_retro.yml b/_config_retro.yml new file mode 100755 index 0000000..52fd4e0 --- /dev/null +++ b/_config_retro.yml @@ -0,0 +1,41 @@ +baseurl: '/' +permalink: pretty + +title: 'Hackerspace Wrocław' +retro: true + +logo: "images/hswro-logo.gif" +favicon: "images/favicon.svg" + +sass: + style: compressed # possible values: nested expanded compact compressed + +include: + - .well-known + +plugins: [jekyll-polyglot] + +# polyglot +languages: ["pl", "en"] +default_lang: "pl" +exclude_from_localization: ["images", "fonts", "sitemap", "docker", "vendor"] +url: https://hswro.org + +ourspace: + pl: "Siedziba" + en: "Our place" +# polyglot end + +exclude: + - Gemfile + - Gemfile.lock + - node_modules + - vendor/bundle/ + - vendor/cache/ + - vendor/gems/ + - vendor/ruby/ + - docker/ + - LICENSE.md + - LICENSE + - README.md + - ORIGINAL_README.md diff --git a/_includes/footer.html b/_includes/footer.html index af48c20..d9337b6 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -4,12 +4,18 @@
diff --git a/_includes/header.html b/_includes/header.html index 57682f3..df6c982 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,11 +1,18 @@
+ {% if site.retro %} + + {% else %}
{{ site.title }}
+ {% endif %} {% include main-menu.html %}
+ diff --git a/images/hswro-logo.gif b/images/hswro-logo.gif new file mode 100644 index 0000000000000000000000000000000000000000..2ec06e90a03a8f4d2930ab3d1f28f031abe4995d GIT binary patch literal 1006 zcmV0Kx_CX>@2HM@dak03rDV0SW*F04x9i003hEF#rGq{wTUU&M?a51^}Yo>cZxO;9-^U z4PItl>~jTyx?XZvjcg6>r9*2ZV9><^1c*RY@nc$Ma5Wk3$E(_WLn?NN3NpV(tj-iB zhjP^>+RBq@wPY^!*X(4u=kV&ReGu1dAZ~XuCT2)te2PheMoDU8e|>>|iI!b;h#@L< zDIAlBD+(-nm1>iegQ`GXB_|wBnT)WGVrr#Vr+9)2dV?{ecW0chu12*$z^-~9MS_xe z3rhe!TTU)VhMKg1)@dC?scg%gAlg=Th(kuWaIz;}l#Ud(t) z*Ai3WCf<~|o}|PKjUltS*ols@{0>*cIO412Escyog~pUpWO?3RQm_JWsiv?^Z8z>R zjTGqFcAeHdK_$*dq>CEc?AP!2FhMc7_#GI@$G?!a+ETCB}?O~ixdwp2e5ON{I zPb6ekYH1tAMat2cm!{HbDspn8P@?g4pi~GjFqP_bFl5u32l)A5YNZKowBvmi_>fID zB)NKqtht&%ld#%sN2{%Au%SWNNhF;rf~>*@+nPwwl2E0kBDR5RUNGP_53ym0)S4l^ z3bx4+*B;y4dTBsF*tfg-Fp6-Lg^Pl)>5`c(VAypPErzJd8?7BTWS~xgFajQ>D$6@r1KFiTmr# c?;g2rr#mYfu3tB2MTD0afb}!5LnQzJJ5q?#dH?_b literal 0 HcmV?d00001