Skip to content

MonashBioinformaticsPlatform/enrichment_analysis_workshop_2024

 
 

Repository files navigation

Enrichment Analysis workshop base

Updated on 2024

This is the source for the _Enrichment Analysis workshop_2024 website.

Quickstart

git clone [email protected]:MonashBioinformaticsPlatform/enrichment_analysis_workshop_2024.git

# get hugo
brew install hugo

#download the theme and crete the right path

cd enrichment_analysis_workshop_2024
mkdir themes
cd themes
git clone https://github.com/matcornic/hugo-theme-learn.git

#remember to change URL in config.toml to direct to the right github page

To update the site:

  • Create or edit the Markdown in content (and possibly files in static (for images) or config.toml)
  • Check that the site builds and looks correct by locally running hugo server.
  • git commit your changes and git push.

Deployment to the live site at monashbioinformaticsplatform.github.io/enrichment_analysis_workshop_2024/ happens after running ./deploy.sh script

Detail

Dependencies

You'll need Hugo.

Cloning

git clone --recurse-submodules https://github.com/MonashBioinformaticsPlatform/enrichment_analysis_workshop.git

Editing

hugo server

# or if you want to see pages marked as drafts
# hugo server -D
  • Content is in content/
  • Images and CSS are in static/
  • Some theme customization and overrides lives in layouts/

Updating for past / new events

We want past events to automatically appear as a list of 'posts' at the bottom of the events page. To do this:

  • Create a new page in the content/module folder (eg basics.md). Include the date at the end of the file as shown.

Custom template features

In config.toml

# Add the page here

## Main menu
[[menu.main]]
    name = "Basics"
    weight = 100
    identifier = "basics"
    url = "/module/basics"

You need to build and deploy the live site manually, do:

# This builds the static pages, commits and pushes to the Github pages site (using the 'public' git submodule).
# It doesn't commit or push any changes to your Markdown source - do that yourself.

./deploy.sh

About

A base for enrichment analysis workshop material

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 50.5%
  • Shell 49.5%