Skip to content

Instantly share code, notes, and snippets.

View ccchristopherm's full-sized avatar

ccchristopherm

View GitHub Profile
Options +FollowSymlinks
RewriteEngine On
RewriteRule ([^/]+)\.jpg$ - [E=FILENAME:$1]
<FilesMatch "\.jpg$">
Header add Link '<https://example.com/%{FILENAME}e.html>; rel="canonical"'
</FilesMatch>
@ccchristopherm
ccchristopherm / bootstrap_under_construction.html
Created August 9, 2018 16:29
A nice, complete "Under Construction" page made with Bootstrap.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="favicon.ico">
<title>Sticky Footer Template for Bootstrap</title>
<i class="fa fa-caret-right" aria-hidden="true"><span style="display: none;">&nbsp;</span></i>
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
client_max_body_size 100M;
client_body_buffer_size 1m;
proxy_intercept_errors on;
proxy_buffering on;
proxy_buffer_size 128k;
.archive.category .page-header > .page-title {
/* Space words 100% of viewport's width. */
word-spacing: 100vw;
/* Move the text up to adjust for transparent text. */
margin-top: -1em;
}
.archive.category .page-header > .page-title::first-line {
/* Set the first line's text color to be transparent */
color: transparent;