forked from HSWro/hswro_org
Initial Retro website version
This commit is contained in:
parent
8342399b50
commit
6ebf8ce809
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -4,12 +4,18 @@
|
|||
<div class="col-12">
|
||||
<div class="footer-inner">
|
||||
<h2 class="footer-title">
|
||||
{% if site.retro %}
|
||||
<div class="logo">
|
||||
<a href="{{ site.baseurl }}"><img alt="{{ site.title }}" src="{{ site.logo | relative_url }}" /></a>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="logo">
|
||||
<a href="{{ site.baseurl }}"><img width="{{ site.logo.desktop_footer_width }}" height="{{ site.logo.desktop_footer_height }}" alt="{{ site.title }}" src="{{ site.logo.desktop | relative_url }}" /></a>
|
||||
</div>
|
||||
<div class="logo-mobile">
|
||||
<a href="{{ site.baseurl }}"><img width="{{ site.logo.mobile_footer_width }}" height="{{ site.logo.mobile_footer_height }}" alt="{{ site.title }}" src="{{ site.logo.mobile | relative_url }}" /></a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,18 @@
|
|||
<div class='header'>
|
||||
<div class="container">
|
||||
{% if site.retro %}
|
||||
<div class="logo">
|
||||
<a href="{{ site.baseurl }}"><img alt="{{ site.title }}" src="{{ site.logo | relative_url }}" /></a>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="logo">
|
||||
<a href="{{ site.baseurl }}"><img width="{{ site.logo.desktop_width }}" height="{{ site.logo.desktop_height }}" alt="{{ site.title }}" src="{{ site.logo.desktop | relative_url }}" /></a>
|
||||
</div>
|
||||
<div class="logo-mobile">
|
||||
<a href="{{ site.baseurl }}"><img width="{{ site.logo.mobile_width }}" height="{{ site.logo.mobile_height }}" alt="{{ site.title }}" src="{{ site.logo.mobile | relative_url }}" /></a>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% include main-menu.html %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 1006 B |
Loading…
Reference in New Issue