Skip to content

Commit

Permalink
New website look (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
PJB3005 authored Jul 16, 2021
1 parent e0cca81 commit c4ee7fc
Show file tree
Hide file tree
Showing 104 changed files with 3,300 additions and 2,122 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.80.0'
# extended: true
hugo-version: '0.85.0'
extended: true

- name: Npm install
run: npm install

- name: Build
run: hugo --minify
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules/*
static/js/*
resources/_gen/
public/
*~
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $ git submodule init

## Building

**Build the TypeScript code** before anything else! The compiled version isn't in the repo.
You will need to have `npm` installed to build the website (CSS stuff, mostly). Once you have that run `npm install` in the project directory to let npm fetch the dependencies like bootstrap.

To build the site, run `$ hugo` inside the project. That's it. This dumps the output files into the `/public/` folder. This isn't really practical for making sure your site's up to scratch though. If you want that, run `$ hugo serve` instead. It'll create a local (automatically updating) web server that you can connect to to make sure everything checks out.

Expand Down
Loading

0 comments on commit c4ee7fc

Please sign in to comment.