This is the RHL Website.
The site is generated using Hugo and can be easily generated locally.
- Install hugo
- Clone this repo
- run
hugo server -D - open a browser
General content lived in the content folder and is formatted as markdown
Styles and JS are auto generated by hugo (and later compressed by Netlify). To edit css/js edit the files in assets and observe changes with hugo
Templates are in the layouts directory.
_defaultholds the initial layoutpartialsare components included across multiple default filesshortcodesare embedable in content files
To make our integration with meetup work we use Netlify Functions to proxy requests to the meetup API. Hugo does not currently offer a mechanism to proxy requests to local dev so if you want to work on functions on the frontend you need to mock api responses with files in the static folder. To run development of functions locally do the following:
- ensure you have node/npm installed
npm inpm run start:functions- function will be available at
localhost:9000/.netlify/functions/{name}
This theme was partially designed with the inspiration from