Skip to content

megascrapper/pawsey-poster-site

Repository files navigation

pawsey-poster-site

Supporting site for the Pawsey 2023 summer internship showcase event.

Run locally

Requirements: git and Hugo

Clone the repo with its submodules:

git clone --recurse-submodules https://github.com/megascrapper/pawsey-poster-site

Change directory:

cd pawsey-poster-site

Run Hugo:

hugo serve

Then open the specified address in a browser (hint: look at the line that says something like Web Server is available at http://localhost:1313/pawsey-poster-site/ (bind address 127.0.0.1))

Refer to Hugo documentation for more information on how to use Hugo.

Development

Directory structure

Path Description
content Page source in Markdown, one page per file.
content/_index.md Source for the main page
assets Image files
static/plot-data Plotly plot data in JSON format
static/pawsey_poster.pdf Poster file
layouts/partials/head-last.html HTML code to be appended at the end of each page's <head>
shortcodes/load-plotly.html Shortcode for loading plotly.js to the page
shortcodes/plotly.html Shortcode for placing Plotly plots
shortcodes/nootstrap-table.html Shortcode for making bootstrap tables look a little nicer

Theme

This site uses Paige theme by Will Faught It handles general layout and configuration of the site. At the time of writing this, it uses commit b462632 of the theme. Please see the theme documentation for more details.

Bibliography

hugo-cite is used to handle references and bibliography on the main page. Commit ca42411 is used at the time of writing. Refer to the documentation for details.

Plotly

Plotly shortcodes are taken from https://ig248.gitlab.io/post/2018-11-05-plotly-sample/ and are located in shortcodes/load-plotly.html (loader) and shortcodes/plotly.html (plot).

Deployment

Deployed via GitHub Pages.