diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 09c259b0..bfa1d475 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -30,3 +30,11 @@ jobs:
- name: rsync over ssh
run: rsync -r ./_site/* github@fenicsproject.org:/var/www/vhosts/fenicsproject.org/newsite
if: ${{ github.repository == 'FEniCS/web' && github.ref == 'refs/heads/main' }}
+
+ - name: Upload build as artifact
+ uses: actions/upload-artifact@v3
+ with:
+ name: website
+ path: _site
+ if-no-files-found: error
+ if: ${{ github.repository == 'FEniCS/web' && github.ref != 'refs/heads/main' && github.event_name == 'pull_request' }}
diff --git a/README.md b/README.md
index d60fff54..f1f99263 100644
--- a/README.md
+++ b/README.md
@@ -14,6 +14,15 @@ If you think something on the website should be change, but you're not sure how
please [open an issue](https://github.com/FEniCS/web/issues) describing the change you
would like to suggest.
+When a pull request is opened, the website will be build and an artifact of this build will be uploaded.
+To see what the website will look look like after the pull request is merged, you can:
+
+1) Download the artifact
+
+2) unzip the artifact
+
+3) Run `python -m http.server` in the unzipped folder
+
## Code of conduct
When interacting with others (eg when discussing issues or pull requests), you
diff --git a/_config.yml b/_config.yml
index 395b765b..2bf9873e 100644
--- a/_config.yml
+++ b/_config.yml
@@ -5,6 +5,7 @@ description: Open-source finite element library
fenicsversion: 2019.1.0
fenicsversiondate: April 2019
fenicsxversion: 0.7
+dolfinxversion: 0.7.2 # this is used in the URL of the Python demos
fenicsxversiondate: October 2023
defaults:
diff --git a/_data/navbar.yml b/_data/navbar.yml
index 94f389ec..e88b8c85 100644
--- a/_data/navbar.yml
+++ b/_data/navbar.yml
@@ -1,4 +1,6 @@
# Site navigation links
+- title: Home
+ page: /
- title: FEniCS 2024
page: /fenics-2024
- title: Download
diff --git a/_includes/_head.html b/_includes/_head.html
index 3b5e42bc..94ae35c0 100644
--- a/_includes/_head.html
+++ b/_includes/_head.html
@@ -29,7 +29,9 @@
-
+
+
+