Skip to content

Commit 001ca22

Browse files
committed
fix(various): various small patches for build/image issues
Signed-off-by: Laura Santamaria <[email protected]>
1 parent 67d0462 commit 001ca22

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build site
22

33
on:
44
push:
5-
branches: [ "dev" ]
5+
branches: [ "main" ]
66
pull_request:
77
types:
88
- opened
@@ -18,7 +18,7 @@ env:
1818
jobs:
1919
build_and_deploy:
2020
runs-on: ubuntu-latest
21-
if: github.ref == 'refs/heads/dev'
21+
if: github.ref == 'refs/heads/main'
2222
steps:
2323
- name: Check out repository
2424
uses: actions/checkout@v4
@@ -29,7 +29,7 @@ jobs:
2929
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3030
preview:
3131
runs-on: ubuntu-latest
32-
if: github.ref != 'refs/heads/dev'
32+
if: github.ref != 'refs/heads/main'
3333
steps:
3434
- name: Checkout
3535
uses: actions/checkout@v4
File renamed without changes.

templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ <h3 class="title-text text-center">
5353
{% block footer %}
5454
<footer>
5555
<p class="subtext">We are a Cloud Native Computing Foundation sandbox project.</p>
56-
<p><a href="https://cncf.io"><img src="cncf-color-bg.svg" height="75px" alt="CNCF logo"></a></p>
56+
<p><a href="https://cncf.io"><img src="img/cncf-color-bg.svg" height="75px" alt="CNCF logo"></a></p>
5757
<p class="subtext">
5858
bootc, originally created by Red Hat and donated to open source with ❤<br/>
5959
Copyright © bootc, a Series of LF Projects, LLC<br/>

themes/juice/templates/_macros.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{% endfor %}
1717
{% if config.extra.juice_extra_menu %}
1818
{% for menu in config.extra.juice_extra_menu %}
19-
<a class="nav-item subtitle-text" href="{{ menu.link | safe }}">{{ menu.title }}</a>
19+
<a class="nav-item subtitle-text" href="{{ get_url(path='@/content/{{ menu.link }}') }}">{{ menu.title }}</a>
2020
{% endfor %}
2121
{% endif %}
2222
</nav>

themes/juice/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
{% block footer %}
7979
<footer>
8080
<p class="subtext">We are a Cloud Native Computing Foundation sandbox project.</p>
81-
<p><a href="https://cncf.io"><img src="cncf-color-bg.svg" height="75px" alt="CNCF logo"></a></p>
81+
<p><a href="https://cncf.io"><img src="img/cncf-color-bg.svg" height="75px" alt="CNCF logo"></a></p>
8282
<p class="subtext">
8383
bootc, originally created by Red Hat and donated to open source with ❤<br/>
8484
Copyright © bootc, a Series of LF Projects, LLC<br/>

0 commit comments

Comments
 (0)