https://github.com/intermine/intermine-homepage-2017
InterMine's new homepage as of 2017
https://github.com/intermine/intermine-homepage-2017
Last synced: about 1 year ago
JSON representation
InterMine's new homepage as of 2017
- Host: GitHub
- URL: https://github.com/intermine/intermine-homepage-2017
- Owner: intermine
- License: lgpl-2.1
- Created: 2017-11-01T14:24:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-03-03T13:58:11.000Z (over 4 years ago)
- Last Synced: 2025-03-13T02:16:09.652Z (over 1 year ago)
- Language: HTML
- Homepage: http://intermine.org
- Size: 15.1 MB
- Stars: 5
- Watchers: 8
- Forks: 28
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# InterMine Homepage
New design for 2017.
## Dependencies:
The homepage is generated using the static site generator [hugo](https://gohugo.io/). Install this if you want to modify the site.
## Editing content:
1. Check out the repo
2. Go to the `/content` folder to change the content of pages, or the `/layouts` folder for aesthetic changes.
4. If you'd like to view the site locally, run `hugo server` and navigate to localhost:1313. While `hugo server` is running, it will automatically build and refresh pages you edit, so long as there are no errors.
3. 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 with `index.md` (no underscore) are just single-page entries rather than list pages.
6. Push. See deployment notes below for making your changes live.
### Deploying
Anything on [intermine/intermine-homepage-2017](https://github.com/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](https://github.com/intermine/intermine.github.io).
## Updating Publications
Publication info at http://www.intermine.org/publications is drawn from the Zotero API.
To update the site's list of publications:
1. Join our [Zotero group](https://www.zotero.org/groups/2117194/intermine/items/) if you haven't already.
2. 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](https://www.zotero.org/support/getting_stuff_into_your_library)).
3. To update the website, simply check this project out and run `hugo` to re-generate the publication list.
4. Follow the deploying step above.
## Icons
Many of the icons shown are from the [Remix Icon](https://remixicon.com/) and [Smashing Magazine Ballicons 3](https://www.smashingmagazine.com/2017/03/free-sparkly-icons-ballicons-eps-svg/) free set.
## Updating styles
If you wish to edit the layout or styles, please edit `styles/style.less`.
## Scripts
### Development
```bash
npm run dev
```
After running this script visit to http://localhost:1313/
### Build
```bash
npm run build
```