Skip to content

A UW theme for Jekyll based academic websites with the functionality of al-folio

License

Notifications You must be signed in to change notification settings

UW-Madison-DSI/uw-jekyll-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

UW Jekyll Template

This is a Jekyll based website that is based upon the Al-Folio framework and incorporates styling from the standard UW HTML template.

UW Jekyll Template Home Page

Applications

The UW Jekyll Template is intended to support the development of websites for the following types of University of Wisconsin people and organizations:

  • department
  • lab
  • researcher or person
  • organization

Features

The UW Jekyll Template has built-in support for the following capabilities:

  • blog
  • list of publications
  • list of projects
  • list of GitHub repositories
  • CV
  • teaching, description of course materials

Minimal required changes for website deployment

If you are starting with this repository as a template for your own project the following steps are required to have it be deployed as a GitHub Pages website.

  1. In the GitHub Pages settings for your repository (https://github.com/<your GitHub org>/<your GitHub repository name>/settings/pages) under "Build and deployment" select "GitHub Actions" from the Source drop down menu.
  2. Find all instances of "uw-jekyll-theme" in the repository (e.g. git grep "uw-jekyll-theme") and replace them with your repository name. Add and commit these changes to your repository and push them to your remote on GitHub.
    • The only file that is required to be updated is _config.yml, but updating all files with the new repository name helps to avoid confusion later.

Local development

pixi

The easiest cross-platform method for local development is to use pixi, as it provides a fully reproducible environment with all the required dependencies and build tools.

Install pixi and then (optionally) from the top level of the repository run

pixi install

Then use the pixi task runner to execute the tasks defined in pixi.toml. First install the local Ruby "bundle"

pixi run install

and then run any defined task with pixi run, such as building and serving the website at http://127.0.0.1:4000/uw-jekyll-theme/

pixi run serve

The canonical

pixi run start

runs the install and serve tasks.

You can see all the defined tasks in this project by running

pixi info

rbenv

Assuming you already have Ruby installed on your system, preferably with rbenv, you can alternatively do local development by installing bundler

gem install bundle

then setting up local Ruby "bundle"

bundle install

and then build and serve the website at http://127.0.0.1:4000/uw-jekyll-theme/ with

bundle exec rake serve

Note: If you use this development method, dependencies installed in the bundle will have external dependencies, like ImageMagick, that you will need to install yourself.

Docker

If you are running on Windows, we recommend that you run this application using Docker, which can be performed as follows:

  • First, install docker and docker-compose.
  • Finally, run the following command that will pull a pre-built image from DockerHub and will run your website.
$ docker-compose up

Note that when you run it for the first time, it will download a docker image of size 300MB or so.

License

Distributed under the MIT License. See LICENSE for more information.

About

A UW theme for Jekyll based academic websites with the functionality of al-folio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published