This repository provides a Hugo template for a Base4NFDI basic service website. By default it includes a blog/newsfeed, publications, people in the project and a wiki, but can be customized in any way to your needs. In this template, 'TODO' is used as a placeholder in every place you need to fill in your own service information, so you can just search for it, change/fill out every instance and the site should be ready to use.
TODO: insert your service logo
TODO: short intro text about project
Check out our website (TODO: ADD LINK AFTER PUBLISHING). (The website is hosted in this repository.)
You can also find us on the Base4NFDI website. (TODO: specify)
This repository and the website content (TODO: ADD LINK AFTER PUBLISHING) are licensed under Creative Commons CC-BY-SA-4.0 licence.
- Click here to use this template in your own repository or ask the Base4NFDI staff to create one for you in the Base4NFDI organisation
- Enable GitHub pages from GitHub actions in the settings (Settings ➜ Pages ➜ Source: GitHub Actions)
- Re-run the action to deploy the site (Actions ➜ click on last failed action ➜ top-right ‘re-run all actions’)
- The site should be available under https://base4nfdi.github.io/your-repo-name, where base4nfdi is the organisation or user under which you created the repository
GitHub has extensive documentation on this. Basically it boils down to:
- Ask the Base4NFDI team to set a DNS CNAME record for your desired domain with looks like
todo.services.base4nfdi.de. CNAME base4nfdi.github.io.Where of course todo.services.base4nfdi.de. needs to be replaced by your subdomain and if you used another GitHub organisation base4nfdi.github.io by the GitHub organisation your repository belongs to - Now the custom domain can be set in the project. Again in Settings ➜ Pages enter your domain (todo.services.base4nfdi.de) into the custom domain box and hit save. If the DNS check fails, wait a bit to make sure the change is published, otherwise make sure your DNS record is correct (e.g. missing dot at the end)
- After the DNS check passes, lastly set the new domain in the website configuration itself, so for this template in config/_default/hugo.yaml. After the GitHub action ran again, your site should be ready and available under the new domain!
- Font type: Fira Sans
- Primary color (paragraph, titles, top navi bar, link hover): #45546B
- Secondary color (link, buttons): #0ABAF0
Significant primary work was done by M. Lange.
