Skip to content

Commit

Permalink
Update github action zola
Browse files Browse the repository at this point in the history
  • Loading branch information
lordiii committed Mar 25, 2024
1 parent f6931c9 commit 31617e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
IFS_FOLDER: 'content/images/ifs'
IFS_PATH: ${{ secrets.IFS_PATH }}
- name: 'build and deploy'
uses: shalzz/zola-deploy-action@v0.17.2
uses: shalzz/zola-deploy-action@v0.18.0
env:
PAGES_BRANCH: master
BUILD_DIR: .
Expand Down
12 changes: 8 additions & 4 deletions templates/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,28 +35,32 @@
{% include "navbar-pagelist.html" %}

<li class="nav-item">
<a class="nav-link" role="button" aria-expanded="false" href='{{ get_url(path="@/blog/_index.md", lang=lang) }}'>
<a class="nav-link" role="button" aria-expanded="false"
href='{{ get_url(path="@/blog/_index.md", lang=lang) }}'>
{% set blog_section_metadata = get_section(path="blog/_index" ~ lang_stub ~ ".md", metadata_only=true) %}
{{ blog_section_metadata.title }}
</a>
</li>

<li class="nav-item">
<a class="nav-link" role="button" aria-expanded="false" href='{{ get_url(path="@/calendar.md", lang=lang) }}'>
<a class="nav-link" role="button" aria-expanded="false"
href='{{ get_url(path="@/calendar.md", lang=lang) }}'>
{% set contact_page_metadata = get_page(path="calendar" ~ lang_stub ~ ".md", metadata_only=true) %}
{{ contact_page_metadata.title }}
</a>
</li>

<li class="nav-item">
<a class="nav-link" role="button" aria-expanded="false" href='{{ get_url(path="@/contact.md", lang=lang) }}'>
<a class="nav-link" role="button" aria-expanded="false"
href='{{ get_url(path="@/contact.md", lang=lang) }}'>
{% set contact_page_metadata = get_page(path="contact" ~ lang_stub ~ ".md", metadata_only=true) %}
{{ contact_page_metadata.title }}
</a>
</li>

<li class="nav-item">
<a class="nav-link" role="button" aria-expanded="false" href='{{ get_url(path="@/contact.md#" ~ trans(key="arrival", lang=lang) | lower, lang=lang) }}'>
<a class="nav-link" role="button" aria-expanded="false"
href='{{ get_url(path="@/contact.md#" ~ trans(key="arrival", lang=lang) | lower, lang=lang) }}'>
{{ trans(key="arrival", lang=lang) }}
</a>
</li>
Expand Down

0 comments on commit 31617e1

Please sign in to comment.