Skip to content

Commit 7773696

Browse files
committed
Update base path for foss4g2027.org custom domain
1 parent 19a4c6b commit 7773696

6 files changed

Lines changed: 7 additions & 13 deletions

File tree

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
PUBLIC_BASE_PATH="/foss4g-2027"
1+
PUBLIC_BASE_PATH=""

.github/workflows/build-and-deploy.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ jobs:
3030
run: npm install
3131

3232
- name: build
33-
env:
34-
PUBLIC_BASE_PATH: "/foss4g-2027"
3533
run: |
3634
npm run build
3735

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ This is a fork of the [OSGEO OCEANIA] FOSS4G 2025 website: https://github.com/os
44

55
This site is deployed to the github-pages environment by the [Build and Deploy to GitHub Pages workflow](https://github.com/osgeouk/foss4g-2027/blob/main/.github/workflows/build-and-deploy.yml).
66

7-
The workflow yml sets the `PUBLIC_BASE_PATH` variable to "/foss4g-2027".
8-
9-
The variable must be defined in the `.env` to ensure that the local dev run can access public resources.
7+
The site is served from the root path, so the `PUBLIC_BASE_PATH` variable in `.env` is empty. If the site ever needs to be served from a subfolder again, set `PUBLIC_BASE_PATH` in `.env` (and in the workflow yml) together with `kit.paths.base` in `svelte.config.js`.
108

119
## Website Development
1210

@@ -26,6 +24,6 @@ npm run dev
2624

2725
Page content is stored in `/src/routes/`
2826

29-
For the url `https://osgeouk.github.io/foss4g-2027/sponsorship`
27+
For the url `https://<site-root>/sponsorship`
3028

3129
The content is at `/src/routes/sponsorship/+page.svx`

src/app.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
<!-- Open Graph (Facebook, iMessage, Slack, etc.) -->
1212
<meta property="og:title" content="FOSS4G Bristol 2027" />
1313
<meta property="og:description" content="FOSS4G stands for Free and Open Source Software for Geospatial, a conference hosted in partnership with OSGeo." />
14-
<meta property="og:image" content="%sveltekit.assets%/share-image.png" />
15-
<meta property="og:url" content="https://2025.foss4g.org/" />
14+
<meta property="og:image" content="https://foss4g2027.org/share-image.png" />
15+
<meta property="og:url" content="https://foss4g2027.org/" />
1616
<meta property="og:type" content="website" />
1717

1818
<!-- Twitter Card -->
1919
<meta name="twitter:card" content="summary_large_image" />
2020
<meta name="twitter:title" content="FOSS4G Bristol 2027" />
2121
<meta name="twitter:description" content="FOSS4G stands for Free and Open Source Software for Geospatial, a conference hosted in partnership with OSGeo." />
22-
<meta name="twitter:image" content="%sveltekit.assets%/share-image.png" />
22+
<meta name="twitter:image" content="https://foss4g2027.org/share-image.png" />
2323
</head>
2424
<body data-sveltekit-preload-data="hover" class="max-w-screen overflow-x-hidden">
2525
<div style="display: contents">%sveltekit.body%</div>

static/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
foss4g2027.org

svelte.config.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ const config = {
1616
extensions: ['.svelte', '.svx'],
1717
kit: {
1818
adapter: adapter(),
19-
paths: {
20-
base: '/foss4g-2027'
21-
},
2219
prerender: {
2320
handleHttpError: 'warn'
2421
},

0 commit comments

Comments
 (0)