From 293b3f286d07495ab2f3a1dc1f869c00c2c9b972 Mon Sep 17 00:00:00 2001 From: Xevion Date: Mon, 11 Apr 2022 15:37:47 -0500 Subject: [PATCH] Add /resume redirecting route, move 404.html Sass into styles file --- 404.html | 17 +---------------- Gemfile | 1 + Gemfile.lock | 3 +++ _config.yml | 1 + _sass/main.scss | 14 ++++++++++++++ resume.html | 12 ++++++++++++ 6 files changed, 32 insertions(+), 16 deletions(-) create mode 100644 resume.html diff --git a/404.html b/404.html index b887d4b..6cd66b5 100644 --- a/404.html +++ b/404.html @@ -1,26 +1,11 @@ --- -permalink: /404.html +permalink: /404 layout: default _preview_description: The page you have requested no longer or has never existed. --- - -

404

-

Page not found :(

The requested page could not be found.

diff --git a/Gemfile b/Gemfile index 5ddee30..77b2784 100644 --- a/Gemfile +++ b/Gemfile @@ -30,3 +30,4 @@ gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] gem "jekyll-github-metadata" gem "webrick", "~> 1.7" +gem 'jekyll-redirect-from' \ No newline at end of file diff --git a/Gemfile.lock b/Gemfile.lock index f193961..86fb2cf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -59,6 +59,8 @@ GEM jekyll-github-metadata (2.13.0) jekyll (>= 3.4, < 5.0) octokit (~> 4.0, != 4.4.0) + jekyll-redirect-from (0.16.0) + jekyll (>= 3.3, < 5.0) jekyll-sass-converter (2.2.0) sassc (> 2.0.1, < 3.0) jekyll-seo-tag (2.7.1) @@ -118,6 +120,7 @@ DEPENDENCIES jekyll (~> 4.1.1) jekyll-feed (~> 0.12) jekyll-github-metadata + jekyll-redirect-from minima (~> 2.5) tzinfo (~> 1.2) tzinfo-data diff --git a/_config.yml b/_config.yml index 7e051ac..f6861ed 100644 --- a/_config.yml +++ b/_config.yml @@ -8,6 +8,7 @@ permalink: pretty plugins: - jekyll-feed - "jekyll-github-metadata" + - jekyll-redirect-from exclude: - CNAME - LICENSE diff --git a/_sass/main.scss b/_sass/main.scss index a4209a1..8de6ab9 100644 --- a/_sass/main.scss +++ b/_sass/main.scss @@ -338,8 +338,22 @@ article { .build-revision { font-family: CMU Typewriter Text, sans-serif; + a { color: #d2d2d2; text-decoration: none; } +} + +.container { + margin: 10px auto; + max-width: 600px; + text-align: center; + + h1 { + margin: 30px 0; + font-size: 4em; + line-height: 1; + letter-spacing: -1px; + } } \ No newline at end of file diff --git a/resume.html b/resume.html new file mode 100644 index 0000000..3931c07 --- /dev/null +++ b/resume.html @@ -0,0 +1,12 @@ +--- +permalink: /resume +layout: default +_preview_description: This page is intended to redirect to my resume. +redirect_to: /resume.pdf +--- + +
+

Redirecting...

+

This page is intended to redirect automatically - if you're reading this, something may have been gone.

+ Speed up the redirecting process? +