Website
Taking some notes regarding building a website.
Domain
First you may need to buy and host a domain. For example, hanzheteng.com
To check domain status, you can use whois. This can provide you with some information, but not a service to host your own domain.
Jekyll Local Setup
For the latest version (22.04) of Ubuntu system, you should be able to set up everything by following this official latest tutorial: Quick Start, Ubuntu Installation
For Ubuntu 20, you may encountered some errors in gem install jekyll bundler
. To address this, just to install a previous version of jekyll. Either of the following way shall work.
Then just follow the rest of Quick Start to compile and run the web pages locally.
Github Pages
There are some issues with the rendering of Github Pages on the Github remote server. The webpages can build and render correctly in local environment, but not on the Internet after pushing to Github repo. Two things to change:
In markdown source files (e.g.,
index.md
), change the keywordlayout
tolayouts
. This is may be a legacy issue. Reference: Stackoverflow question.In the
_config.yml
file,baseurl
andurl
have to be set propely to a remote address. For example:
Resources
Website builder: WordPress, Google Sites
Website builder for hackers: Github pages, Jekyll, Hugo, Hexo
HTML templates: TEMPLATED
Jekyll templates: Jekyll themes
Last updated