Skip to content

Commit ad9ee09

Browse files
committed
adapt to subfolder
1 parent 3ee7f39 commit ad9ee09

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

hugo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
baseURL = 'https://myfoundation.ch'
1+
baseURL = 'https://antistatique.github.io/myfoundation-landing'
22
languageCode = 'en-us'
33
title = 'My Foundation - Support a new project every month with a recurring donation.'
44
theme = 'mf'

themes/mf/layouts/_default/baseof.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<title>{{ .Title }}</title>
88
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
99
<link rel="author" href="{{ "humans.txt" | relURL }}" />
10-
<link rel="manifest" href="/manifest.json">
10+
<link rel="manifest" href="{{ "manifest.json" | relURL }}">
1111
<link rel="stylesheet" href="{{ "css/style.css" | relURL }}?{{ time.Now }}">
1212
<link href="{{ "css/aos.css" | relURL }}" rel="stylesheet">
1313

themes/mf/layouts/shortcodes/hero.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
<div class="join" data-aos="fade" data-aos-duration="700">{{ partial "svg" "community" }}</div>
1212

13-
<div class="project-exemple project-exemple-1" data-aos="fade" data-aos-duration="900"><img src="/images/project_community_box.png" alt="exemple of project" loading="lazy"/></div>
14-
<div class="project-exemple project-exemple-2" data-aos="fade" data-aos-duration="400"><img src="/images/project_community_children.png" alt="exemple of project" loading="lazy"/></div>
15-
<div class="project-exemple project-exemple-3" data-aos="fade" data-aos-duration="400"><img src="/images/project_community_water.png" alt="exemple of project" loading="lazy"/></div>
13+
<div class="project-exemple project-exemple-1" data-aos="fade" data-aos-duration="900"><img src="./images/project_community_box.png" alt="exemple of project" loading="lazy"/></div>
14+
<div class="project-exemple project-exemple-2" data-aos="fade" data-aos-duration="400"><img src="./images/project_community_children.png" alt="exemple of project" loading="lazy"/></div>
15+
<div class="project-exemple project-exemple-3" data-aos="fade" data-aos-duration="400"><img src="./images/project_community_water.png" alt="exemple of project" loading="lazy"/></div>
1616
<div class="crowd-content">
1717
<svg width="480" height="480" viewBox="0 0 480 480" fill="none" xmlns="http://www.w3.org/2000/svg" class="crowd">
1818
{{ $xml := readFile "data/crowd.xml" }}

themes/mf/layouts/shortcodes/quote.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{{ $title := .Get "title" }}
33

44
<section class="quote">
5-
<img src="/images/quote.png" alt="Project founders" loading="lazy" data-aos="fade-right" data-aos-duration="400">
5+
<img src="./images/quote.png" alt="Project founders" loading="lazy" data-aos="fade-right" data-aos-duration="400">
66
<div>
77
<div data-aos="fade" data-aos-duration="400">
88
{{ .Inner | markdownify }}

0 commit comments

Comments
 (0)