mirror of
https://github.com/Xevion/v2.xevion.dev.git
synced 2025-12-06 03:16:58 -06:00
Add /resume redirecting route, move 404.html Sass into styles file
This commit is contained in:
17
404.html
17
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.
|
||||
---
|
||||
|
||||
<style type="text/css" media="screen">
|
||||
.container {
|
||||
margin: 10px auto;
|
||||
max-width: 600px;
|
||||
text-align: center;
|
||||
}
|
||||
h1 {
|
||||
margin: 30px 0;
|
||||
font-size: 4em;
|
||||
line-height: 1;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="container">
|
||||
<h1>404</h1>
|
||||
|
||||
<p><strong>Page not found :(</strong></p>
|
||||
<p>The requested page could not be found.</p>
|
||||
</div>
|
||||
|
||||
1
Gemfile
1
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'
|
||||
@@ -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
|
||||
|
||||
@@ -8,6 +8,7 @@ permalink: pretty
|
||||
plugins:
|
||||
- jekyll-feed
|
||||
- "jekyll-github-metadata"
|
||||
- jekyll-redirect-from
|
||||
exclude:
|
||||
- CNAME
|
||||
- LICENSE
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
12
resume.html
Normal file
12
resume.html
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
permalink: /resume
|
||||
layout: default
|
||||
_preview_description: This page is intended to redirect to my resume.
|
||||
redirect_to: /resume.pdf
|
||||
---
|
||||
|
||||
<div class="container">
|
||||
<h1>Redirecting...</h1>
|
||||
<p>This page is intended to redirect automatically - if you're reading this, something may have been gone.</p>
|
||||
<a href="/resume.pdf">Speed up the redirecting process?</a>
|
||||
</div>
|
||||
Reference in New Issue
Block a user