/minimal-light

A simple and elegant Jekyll theme for an academic personal homepage

Primary LanguageCSSCreative Commons Zero v1.0 UniversalCC0-1.0

The Minimal Light Theme

LICENSE

[Demo the theme] [简体中文 | 繁體中文 | Deutsche]

This is the source code of my homepage. I build this website based on minimal.
Feel free to use and share the source code anywhere you like.

The latest version of my homepage is available here: [link]

Features

  • Simple and elegant personal homepage theme
  • Jekyll theme, automatically deployed by GitHub Pages
  • Basic search engine optimization
  • Mobile friendly
  • Supporting Markdown
  • Supporting dark mode

Project Architecture

.
├── _data                    
|   └── publications.yml                      # the YAML file for publications
├── _includes                    
|   ├── publications.md                       # the Markdown file for publications
|   └── services.md                           # the Markdown file for services
├── _layouts                  
|   └── homepage.html                         #  the html template for the homepage 
├── _sass
|   ├── minimal-light.scss                    #  this file will be compiled into a CSS file to control the style of the page              
|   └── minimal-light-no-dark-mode.scss       #  this file is similar to minimal-light.scss with the dark mode disabled
├── assets                                    #  some files
├── html_source_file                          #  compiled HTML files
├── .gitignore                                #  this file specifies intentionally untracked files that Git should ignore
├── CNAME                                     #  the custom domain, will be used by GitHub page sevice
├── Gemfile                                   #  a RubyGems related file
├── LICENSE                                   #  the license file
├── README.md                                 #  the readme file (English)
├── README_de.md                              #  the readme file (German)
├── README_zh_Hans.md                         #  the readme file (Simplified Chinese)
├── README_zh_Hant.md                         #  the readme file (Traditional Chinese)
├── _config.yml                               #  the Jekyll configuration file, including some options of the page  
└── index.md                                  #  the content of the index page, using Markdown

Getting Started

This template can be used in the following two ways:

  • Using with the GitHub Pages Service. GitHub will provide you with a server to generate and host web pages.
  • Using locally with Jekyll. You may install Jekyll on your own computer and generate static web pages (i.e., HTML files) with this template. After that, you may upload the HTML files to your server.

The detailed instructions are available below.

Using with the GitHub Pages Service

There are two ways to use this template on GitHub:

Fork this repository

Using this repository as a remote theme

To use this theme, add the following to your repository's _config.yml:

remote_theme: yaoyao-liu/minimal-light

Please note that adding the above line will directly apply all the default settings in this repository to yours.

If you hope to edit any files (e.g., index.md), you still need to copy them to your repository.

Using Locally with Jekyll

First, install Ruby and Jekyll. The install instructions can be found here: https://jekyllrb.com/docs/installation/#guides

Then, clone this repository:

git clone https://github.com/yaoyao-liu/minimal-light.git
cd minimal-light

Install and run:

bundle install
bundle add webrick
bundle exec jekyll server

View the live page using localhost: http://localhost:4000. You can get the HTML files in _site folder.

Using the HTML version

The compiled HTML files are available in the html_source_file folder. If you don't like Jekyll, you may directly edit and use the HTML version.

Customizing

Configuration variables

The Minimal Light theme will respect the following variables, if set in your site's _config.yml:

# Basic Information 
title: Your Name
position: Ph.D. Student
affiliation: Your Affiliation
email: yourname (at) example.edu

# Search Engine Optimization (SEO)
# The following information is used to improve the website traffic from search engines, e.g., Google.
keywords: minimal light
description: The Minimal Light is a simple and elegant jekyll theme for academic personal homepage.
canonical: https://minimal-light-theme.yliu.me/

# Links 
# If you don't need one of them, you may delete the corresponding line.
google_scholar: https://scholar.google.com/
cv_link: assets/files/curriculum_vitae.pdf
github_link: https://github.com/
linkedin: https://www.linkedin.com/
twitter: https://twitter.com/

# Images (e.g., your profile picture and your website's favicon) 
# "favicon" and "favicon_dark" are used for the light and dark modes, respectively. 
avatar: ./assets/img/avatar.png
favicon: ./assets/img/favicon.png
favicon_dark: ./assets/img/favicon-dark.png

# Footnote
# You may use the option to disable the footnote, "Powered by Jekyll and Minimal Light theme."
enable_footnote: true

# Auto Dark Mode
# You may use the option to disable the automatic dark theme
auto_dark_mode: true

# Font
# You can use this option to choose between Serif or Sans Serif fonts.
font: "Serif" # or "Sans Serif"

# Google Analytics ID
# Please remove this if you don't use Google Analytics
google_analytics: UA-111540567-4

Edit index.md

Create index.md and add your personal information. It supports Markdown and HTML syntax.

Edit included files

There are two markdown files included in index.md. They are _includes/publications.md and _includes/service.md, respectively. These two files also support Markdown and HTML syntax. If you don't hope to include these two files, you may remove the following lines in index.md:

minimal-light/index.md

Lines 21 to 23 in b38070c

{% include_relative _includes/publications.md %}
{% include_relative _includes/services.md %}

If you hope to edit the publication list without changing the format, you may edit _data/publications.yml:

- title: Continual Learning for Abdominal Multi-Organ and Tumor Segmentation
authors: Yixiao Zhang, Xinyi Li, Huimiao Chen, Alan Yuille, <strong>Yaoyao Liu*</strong>, Zongwei Zhou* (*Corresponding authors)
conference_short: MICCAI
conference: International Conference on Medical Image Computing and Computer-Assisted Intervention <strong>(MICCAI)</strong>, 2023.
pdf: https://arxiv.org/pdf/2306.00988.pdf
code: https://github.com/MrGiovanni/ContinualLearning
bibtex: https://bib.yliu.me/MICCAI23.txt
image: ./assets/img/teaser_example_2.png
notes: Early Accept

Stylesheet

If you'd like to add your own custom styles, you may edit _sass/minimal-light.scss.

Layouts

If you'd like to change the theme's HTML layout, you may edit _layout/homepage.html.

License

This work is licensed under a Creative Commons Zero v1.0 Universal License.

Acknowledgements

Our project uses the source code from the following repositories: