Migrate from internal hosting to GitHub pages

* Add Twitter card customizations that have been kept in
an internal fork
* Add CNAME needed for GitHub pages
This commit is contained in:
Dalton Hubble 2021-03-23 08:49:35 -07:00
parent a7e9e423f5
commit 6a9c32d3a9
3 changed files with 12 additions and 0 deletions

1
docs/CNAME Normal file
View File

@ -0,0 +1 @@
typhoon.psdn.io

View File

@ -6,6 +6,7 @@ repo_name: poseidon/typhoon
repo_url: https://github.com/poseidon/typhoon repo_url: https://github.com/poseidon/typhoon
theme: theme:
name: material name: material
custom_dir: 'theme'
features: features:
- navigation.tabs - navigation.tabs
- navigation.instant - navigation.instant

10
theme/main.html Normal file
View File

@ -0,0 +1,10 @@
{% extends "base.html" %}
{% block extrahead %}
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@typhoon8s">
<meta name="twitter:creator" content="@dghubble">
<meta name="twitter:title" content="Minimal and free Kubernetes clusters">
<meta name="twitter:description" content="Kubernetes clusters for AWS, Azure, bare-metal, Google Cloud, and DigitalOcean">
<meta name="twitter:image" content="https://storage.googleapis.com/poseidon/typhoon-twitter-card.png">
{% endblock %}