A Github Pages template for your professional website, in order to document your MSHLT internship and satisfy the requirements of the MSHLT program. This repository was originally forked (then detached) by Stuart Geiger from the Minimal Mistakes Jekyll Theme, which is © 2016 Michael Rose and released under the MIT License, and subsequently tailored to the MSHLT requirements by Eric Jackson. See LICENSE.md.
Note: if you are using this repo and now get a notification about a security vulnerability, delete the Gemfile.lock file.
- Register a GitHub account if you don't have one and confirm your e-mail (required!)
- Copy this repository by clicking the "Use this template" button in the top right.
- Go to the settings of your new repository (rightmost item in the tabs that start with "Code", should be below "Unwatch"). Rename the repository "[your GitHub username].github.io", which will also be your website's URL.
- Set site-wide configuration and create content & metadata. You should start by personalizing the URL and other links in
_config.yml
(your site probably won't display properly until you do this, since there are currently placeholders in the URL likeyourGHusername
). Stubs have been created in this repository to meet the basic requirements of the MSHLT internship-reporting professional website. Your website will be evaluated for the minimum content requirements, but you're free to add more content, if you'd like. (see the instructions below for more suggestions; also see this set of diffs showing what files were changed to set up an example site for a user with the username "getorg-testacct") - Upload any files (like PDFs, .zip files, etc.) to the files/ directory. They will appear at https://[your GitHub username].github.io/files/example.pdf.
- Check status by going to the repository settings, in the "GitHub pages" section
- (Optional) Use the Jupyter notebooks or python scripts in the
markdown_generator
folder to generate markdown files for publications and talks from a CSV file.
See more info at https://academicpages.github.io/
To find a different Jekyll theme, should you want to use a different one, you can start looking at https://jekyllthemes.io/free. You can find detailed instructions for how to choose a different theme here.
- Clone the repository and make updates as detailed above
- Make sure you have ruby-dev, bundler, and nodejs installed:
sudo apt install ruby-dev ruby-bundler nodejs
- Run
bundle clean
to clean up the directory (no need to run--force
) - Run
bundle install
to install ruby dependencies. If you get errors, delete Gemfile.lock and try again. - Run
bundle exec jekyll liveserve
to generate the HTML and serve it fromlocalhost:4000
the local server will automatically rebuild and refresh the pages on change.
There is one logistical issue with a ready-to-fork template theme like academic pages that makes it a little tricky to get bug fixes and updates to the core theme. If you fork this repository, customize it, then pull again, you'll probably get merge conflicts. If you want to save your various .yml configuration files and markdown files, you can delete the repository and fork it again. Or you can manually patch.
To support this, all changes to the underlying code appear as a closed issue with the tag 'code change' -- get the list here. Each issue thread includes a comment linking to the single commit or a diff across multiple commits, so those with forked repositories can easily identify what they need to patch.