William Meng's personal website
This website is built with Jekyll using the Editorial Theme by HTML5 UP.
Requires Ruby 2.3:
rvm install 2.3
rvm use 2.3
On Debian 10, the build dependency libssl1.0-dev
does not exist, so you need to install the old version from Debian 9. See this link for more details.
In short, add this to /etc/apt/sources.list.d/stretch.list
deb http://deb.debian.org/debian/ stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free
and add this to /etc/apt/apt.conf.d/00stretch
APT::Default-Release "buster";
then do:
sudo apt-get update
sudo apt install libssl1.0-dev
You should now be able to install Ruby 2.3.
Install dependencies:
gem install bundler:1.12.0
bundle _1.12.0_ install
Run the webserver locally:
bundle exec jekyll serve --incremental --ssl-cert
You should now be able to view the website in a browser at localhost:4000
.
Original documentation below:
A Jekyll version of the "Editorial" theme by HTML5 UP.
For those unfamiliar with how Jekyll works, check out https://jekyllrb.com/ for all the details, or read up on just the basics of front matter, writing posts, and creating pages.
- GitLab: Simply fork this repository and start editing the
_config.yml
file! - GitHub: Fork this reposity and create a branch named
gh-pages
, then start editing the_config.yml
file! The.gitlab-ci.yml
file is only needed for GitLab Pages, so feel free to delete this if you are using GitHub instead.
- Add your social profiles easily in
_config.yml
.
You can use the following custom parameters in _config.yml
.
subtitle
sets the text for the lighter colored text next to your site's title.
500px_url
facebook_url
github_url
gitlab_url
googleplus_url
instagram_url
linkedin_url
pinterest_url
slack_url
twitter_url
Original README from HTML5 UP:
Editorial by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
Say hello to Editorial, a blog/magazine-ish template built around a toggleable "locking"
sidebar (scroll down to see what I mean) and an accordion-style menu. Not the usual landing
page/portfolio affair you'd expect to see at HTML5 UP, but I figured for my 41st (!!!)
template I'd change it up a little. Enjoy :)
Demo images* courtesy of Unsplash, a radtastic collection of CC0 (public domain) images
you can use for pretty much whatever.
(* = not included)
AJ
[email protected] | @ajlkn
Credits:
Demo Images:
Unsplash (unsplash.com)
Icons:
Font Awesome (fortawesome.github.com/Font-Awesome)
Other:
jQuery (jquery.com)
html5shiv.js (@afarkas @jdalton @jon_neal @rem)
Misc. Sass functions (@HugoGiraudel)
Respond.js (j.mp/respondjs)
Skel (skel.io)
Repository Jekyll logo icon licensed under a Creative Commons Attribution 4.0 International License.