Skip to content

Commit 597897f

Browse files
committed
fix: BASE_URL
1 parent 8d0c951 commit 597897f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: chmod +x ./fssg
3232

3333
- name: Build Site
34-
run: ./fssg
34+
run: FSSG_BASE_URL="/fssg" ./fssg
3535

3636
- name: Setup Pages
3737
uses: actions/configure-pages@v5

src/template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
66
<title>fssg - Fast Static Site Generator</title>
7-
<link href="{{BASE_URL}}static/css/style.css" rel="stylesheet" />
7+
<link href="{{BASE_URL}}/static/css/style.css" rel="stylesheet" />
88
<link
99
rel="icon"
1010
type="image/x-icon"

0 commit comments

Comments
 (0)