aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhiming Wang <zmwangx@gmail.com>2017-02-01 19:06:23 -0500
committerZhiming Wang <zmwangx@gmail.com>2017-02-01 19:06:23 -0500
commit7889252fb39c445e072d943a627d8447eb762681 (patch)
tree48dc04881ac2754d925ad8a8dff970c2d70cf48d
parent48e68843c03151935ff1cc350c581f564d5757bb (diff)
downloadmy_new_personal_website-7889252fb39c445e072d943a627d8447eb762681.tar.xz
my_new_personal_website-7889252fb39c445e072d943a627d8447eb762681.zip
Sunset this blog
-rw-r--r--README.md2
-rwxr-xr-xpyblog4
-rw-r--r--source/css/theme.css14
-rw-r--r--source/template.html1
4 files changed, 17 insertions, 4 deletions
diff --git a/README.md b/README.md
index 0510375a..a2b9d346 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
+*Feburary 01, 2017: This blog has been archived. Visit my home page at [zhimingwang.org](https://zhimingwang.org).*
+
[![Build Status](https://travis-ci.org/zmwangx/zmwangx.github.io.svg?branch=source)](https://travis-ci.org/zmwangx/zmwangx.github.io)
This blog can be built with the `pyblog` script. The `pyblog` script currently provides the following actions:
diff --git a/pyblog b/pyblog
index d81657ec..38a7c1d1 100755
--- a/pyblog
+++ b/pyblog
@@ -39,8 +39,8 @@ import lxml.etree as ET
############################# BLOG CONFIGURATIONS ##############################
# Safe to customize
-BLOG_HOME = "http://zhimingwang.org/"
-CUSTOM_DOMAIN = "zhimingwang.org" # GitHub Pages custom domain (could be None)
+BLOG_HOME = "http://archive.zhimingwang.org/"
+CUSTOM_DOMAIN = "archive.zhimingwang.org" # GitHub Pages custom domain (could be None)
BLOG_TITLE = "dl? cmplnts?"
BLOG_DESCRIPTION = "Zhiming Wang's personal blog"
LANGUAGE = "en-us"
diff --git a/source/css/theme.css b/source/css/theme.css
index 2f9a99c9..bdcc84fb 100644
--- a/source/css/theme.css
+++ b/source/css/theme.css
@@ -40,6 +40,16 @@ only screen and ( min-resolution: 1.25dppx) {
-webkit-font-smoothing: subpixel-antialiased;
}
+#archival-notice {
+ position: absolute;
+ top: 30px;
+ left: 0;
+ right: 0;
+ margin: 0 auto;
+ text-align: center;
+ color: red;
+}
+
.nav {
position: fixed;
left: 5%;
@@ -140,7 +150,7 @@ h2 {
}
a {
- color: #000;
+ color: inherit;
word-wrap: break-word;
}
@@ -313,7 +323,7 @@ noscript a {
position: static;
width: 100%;
height: 150px;
- margin: 20px 0;
+ margin: 80px 0 20px 0;
}
.nav-icon {
diff --git a/source/template.html b/source/template.html
index 1a97a7f4..90e23e35 100644
--- a/source/template.html
+++ b/source/template.html
@@ -25,6 +25,7 @@ $if(custom-css)$
$endif$
</head>
<body>
+ <div id="archival-notice">This blog has been archived.<br>Visit my home page at <a href="https://zhimingwang.org">zhimingwang.org</a>.</div>
<nav class="nav">
<a class="nav-icon" href="/" title="Home"><!--blog icon--></a>
<a class="nav-title" href="/"><!--blog title--></a>