New design for 2017.
The homepage is generated using the static site generator hugo. Install this if you want to modify the site.
- Check out the repo
- Go to the
/content
folder to change the content of pages, or the/layouts
folder for aesthetic changes. - If you'd like to view the site locally, run
hugo server
and navigate to localhost:1313. Whilehugo server
is running, it will automatically build and refresh pages you edit, so long as there are no errors. - Edit the page you're interested in. Note that folders in content which have an
_index.md
are list pages and will output the contents of all the other pages in the folder. Folders withindex.md
(no underscore) are just single-page entries rather than list pages. - Push. See deployment notes below for making your changes live.
Anything on intermine/intermine-homepage-2017 master branch will automatically be deployed to InterMine.org, with the help of GitHub Actions and Pages for hosting. The code repo for intermine.org content is intermine/intermine.github.io.
Publication info at http://www.intermine.org/publications is drawn from the Zotero API. To update the site's list of publications:
- Join our Zotero group if you haven't already.
- Add the publication you're looking for to our lists - make sure to put it in the correct collection folder! (Don't type it all in to the website - use the web plugin).
- To update the website, simply check this project out and run
hugo
to re-generate the publication list. - Follow the deploying step above.
Many of the icons shown are from the Remix Icon and Smashing Magazine Ballicons 3 free set.
If you wish to edit the layout or styles, please edit styles/style.less
.
npm run dev
After running this script visit to http://localhost:1313/
npm run build