NCSU-Libraries / jekyll-academic

MIT License
58 stars 354 forks source link

Introduction

This template utilizes Jekyll, an open source static website generator, as well as a theme based largely off of the Minimal Mistakes theme by Michael Rose. The purpose of this template is to provide you with a simple, well designed website that is optimized for hosting on Github pages. We aim to reduce the technological know-how and time that is usually required for maintaining a personal or professional website.

Why Should I Use This?

By using this template you will have a website that is well designed, easy to maintain, free to host and easy to update. While there are many options out there for personal and professional websites, most are dependant on the platform on which they were built, and cannot be easily migrated. This template, while built for Github Pages integration, provides flexibility should you choose to host it elsewhere.

Getting Started Guide

Complete documentation for getting started as well as advanced features of Jekyll Academic can be found at https://ncsu-libraries.github.io/jekyll-academic-docs/.

Migrating to a new default branch name

We've decided to change this project's default branch name to 'main'. If you've forked this repository prior to July 20th, 2021, then you should a message with update instructions when you go to your fork in github:

fork renamed message

In your fork on GitHub, go to the branches view, and click on the edit icon next to the 'master' branch. Change the branch name to main. Underneath the input box where you change the name you will be presented with the commands that you will need to run on your local copy of your fork.

local instructions for default branch name change

Upgrade Notes for June 2021 release

If you are running a fork of Jekyll Academic before June 2021, we made some breaking changes to upgrade the underlying Jekyll version and to address the constant github/dependabot security notices mentioned in issue #4.

We have updated Jekyll to version 4 and removed reveal.js as an included library. We still want to support reveal.js presentations, so we have taken the suggestion from issue #4 and made the reveal.js directory a git submodule. If you are running Jekyll Academic as a Github Page, this should hopefully be a minor change.

If, however, you are running Jekyll Academic locally or on a custom server, after merging this repo's commits in to your fork, you will need to go to the command line in your local or custom instance and perform the following command:

$ git submodule update --init

If you have any reveal.js presentations posted, you may need to make some updates for them to display properly using reveal.js version 4. See Jekyll's documentation for details.

Keeping reveal.js up to date

Moving forward, if you'd like to update reveal.js you will need to run the following commands:

$ git submodule update --remote