GitHub repository for the website of the AI4HEP-UK project.
The site is built with Hugo and Bootstrap.
The pages are in Markdown, with most top-level content under content/.
News are collected under content/posts/.
To make changes to the site, fork and make Pull Requests. To build locally, ensure you have Hugo and Bootstrap installed. Refer to their documentation for detailed and up-to-date instructions.
To post news the typical command is:
hugo new content content/posts/YYYY-MM-DD_my-nice-post.mdAs a rule, add new pages with the hugo new command so that they get placed in the correct folder.
All content including draft content can be visualised and checked with Hugo’s development server with the following command - more exist:
hugo server --buildDraftsFollow the URL displayed on the terminal to view. (It is handy to keep the development server running while changing content since the server automatically updates.)
Refer to the relevant documentation on the Hugo and Bootstrap websites for usage with your favourite package manager.