https://github.com/bacpop/bacpop-website

Code for group website

https://github.com/bacpop/bacpop-website

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.4%) to scientific vocabulary

Keywords

bacteria bioinformatics modelling population-genetics
Last synced: 5 months ago · JSON representation

Repository

Code for group website

Basic Info
  • Host: GitHub
  • Owner: bacpop
  • License: apache-2.0
  • Language: HTML
  • Default Branch: main
  • Homepage: https://www.bacpop.org
  • Size: 48.7 MB
Statistics
  • Stars: 1
  • Watchers: 4
  • Forks: 8
  • Open Issues: 0
  • Releases: 0
Topics
bacteria bioinformatics modelling population-genetics
Created almost 4 years ago · Last pushed 6 months ago
Metadata Files
Readme License

README.md

bacpop-website

A Hugo website running on www.bacpop.org

Set-up

Run: git clone --recursive git@github.com:bacpop/bacpop-website.git

Install hugo (with homebrew is easiest)

Run the site locally with: hugo server -D --disableFastRender this should appear on http://localhost:1313/

Making changes

  1. Make a new branch and check it out. (e.g. git branch update-about && git checkout update-about)
  2. Change the code for the page.
  3. Confirm with the local running copy it looks how want.
  4. Commit to the branch, and push it.
  5. Create a pull request. You'll get a preview on netlify to confirm your changes.
  6. Ask someone else in the group to review your changes.
  7. If they're happy they can merge the branch into main. This will update www.bacpop.org

Please note don't upload large images, keep below 500kb, but lower is better. Images may need to be cropped and reduced in size and quality.

New posts

  1. Create a new post with a command such as hugo new blog/phylogenetics.md.
  2. Write the post (using Markdown).
  3. Preview locally with hugo server -D.
  4. When ready, commit to a new branch, and set draft: false.
  5. Follow steps 5-7 above.

Tips

  • Have a look at some of the existing posts to see how to add images, insert pure html to insert videos and so on.
  • Images go in static/images and any subfolder you wish. The basic command for inserting one is {{< figure src="/images/fig1.jpg" title="Figure 1" >}}.
  • It's currently best to resize and change quality of images in something like photoshop so they aren't too large, rather than using the hugo resizing tools.
  • If you want to add accounts to your about me, have a look at the examples. You can see the available types under themes/ananke/assets/ananke/socials/.
  • To change your header image, there are some defaults 1-13 under static/images you can use, but feel free to add your own. Wide aspect ratio photos look best. No need to relate to page content!
  • Logos for software and the like go in assets/images. See the software page for examples of how to insert and rescale them.
  • {{< toc >}} adds a table of contents with the second level headings.
  • Use {{< rawhtml >}} and {{< /rawhtml >}} if you want html rather than markdown in a section (e.g. for embedding videos or plots).

Advanced

  • If you want to change the structure of a page (header etc) you do this in layouts/. The default is to use the one in themes/ananke/layouts, but if you add into the top level directory this will override it. These files use the various hugo commands and html you see in the documentation, rather than markdown.
  • If you want a snippet which runs hugo code you can write one under layouts/shortcodes. See logo.html for an example, and the software page for how these are used.

Owner

  • Name: Bacterial population genetics
  • Login: bacpop
  • Kind: organization
  • Email: contact@bacpop.org
  • Location: United Kingdom

Pathogen Informatics and Modelling @ EMBL-EBI / Bacterial Evolutionary Epidemiology Group @ Imperial College London

GitHub Events

Total
  • Delete event: 6
  • Member event: 4
  • Issue comment event: 15
  • Push event: 13
  • Pull request review comment event: 2
  • Pull request event: 19
  • Pull request review event: 12
  • Fork event: 2
  • Create event: 7
Last Year
  • Delete event: 6
  • Member event: 4
  • Issue comment event: 15
  • Push event: 13
  • Pull request review comment event: 2
  • Pull request event: 19
  • Pull request review event: 12
  • Fork event: 2
  • Create event: 7

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 6
  • Average time to close issues: N/A
  • Average time to close pull requests: about 4 hours
  • Total issue authors: 0
  • Total pull request authors: 6
  • Average comments per issue: 0
  • Average comments per pull request: 1.17
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 6
  • Average time to close issues: N/A
  • Average time to close pull requests: about 4 hours
  • Issue authors: 0
  • Pull request authors: 6
  • Average comments per issue: 0
  • Average comments per pull request: 1.17
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • johnlees (7)
  • samhorsfield96 (4)
  • apollis44 (2)
  • vrbouza (2)
  • remilekunf (1)
  • mtrsl (1)
  • AlirezaT99 (1)
  • LeonieLorenz (1)
  • hsuehchien66 (1)
  • rderelle (1)
  • nzmacalasdair (1)
  • qtoussaint (1)
Top Labels
Issue Labels
Pull Request Labels