Skip to content

Commit 0135750

Browse files
committed
fix: change some asset URLs
Make the URL relative to work also when the site is served from a path
1 parent 2d8685e commit 0135750

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h2><strong>Contatti</strong></h2>
1919
</div>
2020
<div class="column is-3">
2121
<a target="_blank" href="https://www.nethesis.it/">
22-
<img class="nethesis-logo-image" src="/assets/images/nethesis-logo-150.png">
22+
<img class="nethesis-logo-image" src="{{ site.baseurl }}/assets/images/nethesis-logo-150.png">
2323
</a>
2424
<p>
2525
Da radici Open Source nascono nuove <br>

_includes/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/bulma.min.css" />
1010
<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/font-awesome/all.min.css" />
1111

12-
<link rel="shortcut icon" type="image/png" href="/assets/images/favicon-01.png"/>
12+
<link rel="shortcut icon" type="image/png" href="{{ site.baseurl }}/assets/images/favicon-01.png"/>
1313

1414
<meta name="google-site-verification" content="hR4RW8Fchx4T8o4dBtxRIyS1sexPxO_nAml4MBtpcsM" />
1515
</head>

assets/css/hero.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ footer li:before {
144144

145145
.logos-images {
146146
background-color: #ffffff;
147-
background-image: url("/assets/images/black-thread-light.png");
147+
background-image: url("../images/black-thread-light.png");
148148
height: 140px;
149149
}
150150

0 commit comments

Comments
 (0)