Skip to content
TeX HTML CSS
Branch: main
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_drafts
_includes
_layouts
_posts
assets/css
cv
img
.editorconfig
.gitignore
CNAME
LICENSE
README.md
_config.yml
blog.md
favicon.ico
index.md
pdfcount.md
research.md
robots.txt
software.md
tags.md
teaching.md

README.md

Thomas J. Leeper

Build Status

This is the git repository for my webpage, which is hosted with GitHub Pages.


Setting up GH Pages

Some things I learned setting up my custom domain redirect (from thomasleeper.com), which weren't very well documented on the GitHub Pages help files are as follows. If you set up the redirect according to the instructions, it still may not work. My domain is registered with mydomain and I had to do the following configurations to get the redirect to work and to avoid an infinite looping redirect between mydomain and GH pages:

  • Make a CNAME file containing the domain in your gh-pages repository.
  • At mydomain, I had to setup:
    • a "standard pointer" (not stealth) to leeper.github.io. (This creates an infinite loop, though, so see below.)
    • a CNAME Alias for www.thomasleeper.com pointing to leeper.github.io.
    • an A record for www.thomasleeper.com pointing to 192.30.252.153 and 192.30.252.154.
    • an A record for @.thomasleeper.com pointing to 192.30.252.153 and 192.30.252.154.

This is based on some advice from this StackOverflow question, which was pretty helpful. It was really frustrating getting this setup but once those settings were in place everything started working almost immediately. Hopefully this is helpful for anyone else experiencing similar problems.

To get SSL/HTTPS working, I followed the instructions here: https://jenmyers.net/using-https-with-github-pages-and-custom-domains.html, which use CloudFlare and require an account there.


Share button

The share button on all of my webpages is created using @carrot's share-button.


Jekyll-related things

The website uses the Moon Jekyll Theme -- Donate


CC-BY 4.0 Except where noted, this website is licensed under a Creative Commons Attribution 4.0 International License.

You can’t perform that action at this time.