This site has been built with GatsbyJS
- Clone this repo
- yarn install
- yarn develop
- Open site at localhost:8000
- You need write access to this repo
- yarn deploy
- The
layouts
folder contains the main template fileindex.js
- That file uses
Header.js
andFooter.js
. - The
pages
folder contains all the pages:index.js
is the homepage- All other filenames become the slug of the page
- You can link to each page via
import Link from 'gatsby-link'
- Use it like so:
<Link to="/about">About</Link>
- You can link to each page via
After the conference, we usually want to archive the site into static pages, so that we can kick-off a new repo for the next year's conference and can easily host all our old sites without being bound to any software stack.
- Disable Login/Signup/Archive links in
Header.js
and deploy - Create folder
static/archive/YYYY
cd
into that folder- Now run
wget
:
wget
--recursive
--no-clobber
--page-requisites
--html-extension
--convert-links
--restrict-file-names=windows
--domains pycon.sg
--no-parent
https://pycon.sg