Skip to content

Demfier/demfier.github.io

Repository files navigation

demfier.github.io

My personal webspace. You can preview the website at: https://demfier.github.io

A simple, clean, and responsive Jekyll theme for academics. This template is based on the awesome al-folio theme. It has the following extra features:

  • A new theme for dark mode
  • Option to show unlimited news posts
  • Hyperlinks to articles in publications

Getting started

For more about how to use Jekyll, check out this tutorial. Why Jekyll? Read this blog post!

Installation

Assuming you have Ruby and Bundler installed on your system (hint: for ease of managing ruby gems, consider using rbenv), first fork the theme from github.com:demfier/demfier.github.io to github.com:<your-username>/<your-repo-name> and do the following:

$ git clone git@github.com:<your-username>/<your-repo-name>.git
$ cd <your-repo-name>
$ bundle install
$ bundle exec jekyll serve

Now, feel free to customize the theme however you like (don't forget to change the name!). After you are done, commit your final changes. Now, you can deploy your website to GitHub Pages by running the deploy script:

$ ./bin/deploy [--user]

By default, the script uses the master branch for the source code and deploys the webpage to gh-pages. The optional flag --user tells it to deploy to master and use source for the source code instead. Using master for deployment is a convention for user and organization pages.

Note: when deploying your user or organization page, make sure the _config.yml has url and baseurl fields as follows.

url:  # should be empty
baseurl:  # should be empty

Features

Read about full set of features here.

License

The theme is available as open source under the terms of the MIT License.

This theme is based on the al-folio theme (published by Maruan Al-Shedivat and under the MIT license).