From 5d69f84467167608755232ec8531a4d92d09f17f Mon Sep 17 00:00:00 2001 From: CaptainArk Date: Sun, 6 Jan 2019 17:58:41 +0100 Subject: [PATCH] read-next modifications --- layouts/partials/partialheader.html | 4 ++++ .../04/24/setting-up-a-mail-server/index.html | 2 ++ .../2015/05/25/flexget-init-script/index.html | 2 ++ public/2015/11/19/installing-ghost/index.html | 2 ++ .../31/debian-updates-with-ansible/index.html | 2 ++ public/2016/01/31/private-git-repo/index.html | 2 ++ .../2016/02/02/my-tmux-configuration/index.html | 2 ++ .../2016/03/13/mysql-backup-script/index.html | 2 ++ public/2016/03/26/webdav-with-nginx/index.html | 2 ++ .../2018/04/14/dns-zone-versioning/index.html | 2 ++ .../11/27/self-hosted-report-uri/index.html | 2 ++ .../12/03/debian-repos-over-https/index.html | 2 ++ public/404.html | 2 ++ public/about/index.html | 2 ++ public/categories/index.html | 2 ++ public/css/screen.css | 17 +++++++++++------ public/index.html | 2 ++ public/page/2/index.html | 2 ++ public/page/3/index.html | 2 ++ public/post/index.html | 2 ++ public/post/page/2/index.html | 2 ++ public/post/page/3/index.html | 2 ++ public/resume/index.html | 2 ++ public/tags/index.html | 2 ++ themes/hugo-theme-casper | 2 +- 25 files changed, 60 insertions(+), 7 deletions(-) diff --git a/layouts/partials/partialheader.html b/layouts/partials/partialheader.html index 9e7396a..6b68314 100644 --- a/layouts/partials/partialheader.html +++ b/layouts/partials/partialheader.html @@ -1,3 +1,6 @@ +{{ if eq (printf "%v" $.Site.BaseURL) "http://localhost:1313/" }} +{{"" | safeHTML}} +{{ else }} +{{ end }} diff --git a/public/2015/04/24/setting-up-a-mail-server/index.html b/public/2015/04/24/setting-up-a-mail-server/index.html index d26d088..b9f1f64 100644 --- a/public/2015/04/24/setting-up-a-mail-server/index.html +++ b/public/2015/04/24/setting-up-a-mail-server/index.html @@ -136,6 +136,7 @@ + + diff --git a/public/2015/05/25/flexget-init-script/index.html b/public/2015/05/25/flexget-init-script/index.html index 2dbb6fb..1ee4721 100644 --- a/public/2015/05/25/flexget-init-script/index.html +++ b/public/2015/05/25/flexget-init-script/index.html @@ -136,6 +136,7 @@ Since I wrote an init script for it a while back, and it is compatible with " /> + + diff --git a/public/2015/11/19/installing-ghost/index.html b/public/2015/11/19/installing-ghost/index.html index 473496b..3b2a7e2 100644 --- a/public/2015/11/19/installing-ghost/index.html +++ b/public/2015/11/19/installing-ghost/index.html @@ -135,6 +135,7 @@ + + diff --git a/public/2016/01/31/debian-updates-with-ansible/index.html b/public/2016/01/31/debian-updates-with-ansible/index.html index 0dc3a7b..7feb309 100644 --- a/public/2016/01/31/debian-updates-with-ansible/index.html +++ b/public/2016/01/31/debian-updates-with-ansible/index.html @@ -136,6 +136,7 @@ From the 4 Debian machines I had to keep up-to-date, I now " /> + + diff --git a/public/2016/01/31/private-git-repo/index.html b/public/2016/01/31/private-git-repo/index.html index ea98ce7..ff75ce7 100644 --- a/public/2016/01/31/private-git-repo/index.html +++ b/public/2016/01/31/private-git-repo/index.html @@ -135,6 +135,7 @@ + + diff --git a/public/2016/02/02/my-tmux-configuration/index.html b/public/2016/02/02/my-tmux-configuration/index.html index 2ca9e6f..77d7806 100644 --- a/public/2016/02/02/my-tmux-configuration/index.html +++ b/public/2016/02/02/my-tmux-configuration/index.html @@ -135,6 +135,7 @@ + + diff --git a/public/2016/03/13/mysql-backup-script/index.html b/public/2016/03/13/mysql-backup-script/index.html index 28a3bd8..e94d137 100644 --- a/public/2016/03/13/mysql-backup-script/index.html +++ b/public/2016/03/13/mysql-backup-script/index.html @@ -135,6 +135,7 @@ + + diff --git a/public/2016/03/26/webdav-with-nginx/index.html b/public/2016/03/26/webdav-with-nginx/index.html index f16673a..9dd5866 100644 --- a/public/2016/03/26/webdav-with-nginx/index.html +++ b/public/2016/03/26/webdav-with-nginx/index.html @@ -135,6 +135,7 @@ + + diff --git a/public/2018/04/14/dns-zone-versioning/index.html b/public/2018/04/14/dns-zone-versioning/index.html index 45d0c90..1ed75fd 100644 --- a/public/2018/04/14/dns-zone-versioning/index.html +++ b/public/2018/04/14/dns-zone-versioning/index.html @@ -136,6 +136,7 @@ I’ve been wanting to write a quick shell script to ve" /> + + diff --git a/public/2018/11/27/self-hosted-report-uri/index.html b/public/2018/11/27/self-hosted-report-uri/index.html index 0d76638..e27b16e 100644 --- a/public/2018/11/27/self-hosted-report-uri/index.html +++ b/public/2018/11/27/self-hosted-report-uri/index.html @@ -135,6 +135,7 @@ + + diff --git a/public/2018/12/03/debian-repos-over-https/index.html b/public/2018/12/03/debian-repos-over-https/index.html index 8b50ffa..d0658c1 100644 --- a/public/2018/12/03/debian-repos-over-https/index.html +++ b/public/2018/12/03/debian-repos-over-https/index.html @@ -136,6 +136,7 @@ I’ve recently realized that the " /> + + diff --git a/public/404.html b/public/404.html index 4d441aa..a04f10a 100644 --- a/public/404.html +++ b/public/404.html @@ -118,6 +118,7 @@ + + diff --git a/public/about/index.html b/public/about/index.html index 01ed3fe..565ef6e 100644 --- a/public/about/index.html +++ b/public/about/index.html @@ -135,6 +135,7 @@ + + diff --git a/public/categories/index.html b/public/categories/index.html index 588ada5..bbec4e4 100644 --- a/public/categories/index.html +++ b/public/categories/index.html @@ -118,6 +118,7 @@ + + diff --git a/public/css/screen.css b/public/css/screen.css index cbae3b5..fb5d221 100644 --- a/public/css/screen.css +++ b/public/css/screen.css @@ -2014,10 +2014,11 @@ body:not(.post-template) .post-title { text-decoration: none; position: relative; text-align: center; - color: #fff; - background: #222 no-repeat center center; + color: #F7FAFB; + background: #F7FAFB no-repeat center center; background-size: cover; overflow: hidden; + margin-bottom: 4px; } .read-next-story:hover:before { background: rgba(0,0,0,0.8); @@ -2025,7 +2026,7 @@ body:not(.post-template) .post-title { } .read-next-story:hover .post:before { color: #222; - background: #fff; + background: #F7FAFB; transition: all 0.2s ease; } @@ -2042,8 +2043,8 @@ body:not(.post-template) .post-title { } .read-next-story .post { - padding-top: 6rem; - padding-bottom: 6rem; + padding-top: 4rem; + padding-bottom: 4rem; border-bottom: none; } @@ -2064,7 +2065,7 @@ body:not(.post-template) .post-title { .read-next-story h2 { margin-top: 1rem; - color: #fff; + color: #F7FAFB; } .read-next-story p { @@ -2094,6 +2095,10 @@ body:not(.post-template) .post-title { color: rgba(0,0,0,0.5); } +.read-next-story .post:after { + content: none; +} + /* if there are two posts without covers, put a border between them */ .read-next-story.no-cover + .read-next-story.no-cover { border-left: rgba(0,0,100,0.04) 1px solid; diff --git a/public/index.html b/public/index.html index 30977aa..375c499 100644 --- a/public/index.html +++ b/public/index.html @@ -116,6 +116,7 @@ + + diff --git a/public/page/2/index.html b/public/page/2/index.html index 1f34918..81ccfd8 100644 --- a/public/page/2/index.html +++ b/public/page/2/index.html @@ -116,6 +116,7 @@ + + diff --git a/public/page/3/index.html b/public/page/3/index.html index cdb7f8a..60ef1f5 100644 --- a/public/page/3/index.html +++ b/public/page/3/index.html @@ -116,6 +116,7 @@ + + diff --git a/public/post/index.html b/public/post/index.html index 651315c..f2edde9 100644 --- a/public/post/index.html +++ b/public/post/index.html @@ -118,6 +118,7 @@ + + diff --git a/public/post/page/2/index.html b/public/post/page/2/index.html index e4072c5..778fc96 100644 --- a/public/post/page/2/index.html +++ b/public/post/page/2/index.html @@ -118,6 +118,7 @@ + + diff --git a/public/post/page/3/index.html b/public/post/page/3/index.html index d003d20..4bd742c 100644 --- a/public/post/page/3/index.html +++ b/public/post/page/3/index.html @@ -118,6 +118,7 @@ + + diff --git a/public/resume/index.html b/public/resume/index.html index b5660a2..9a20691 100644 --- a/public/resume/index.html +++ b/public/resume/index.html @@ -135,6 +135,7 @@ + + diff --git a/public/tags/index.html b/public/tags/index.html index 637f55e..47bab3b 100644 --- a/public/tags/index.html +++ b/public/tags/index.html @@ -118,6 +118,7 @@ + + diff --git a/themes/hugo-theme-casper b/themes/hugo-theme-casper index 524e97e..73cdbd0 160000 --- a/themes/hugo-theme-casper +++ b/themes/hugo-theme-casper @@ -1 +1 @@ -Subproject commit 524e97e8a52fa1b21e27175774a059173c4c55b7 +Subproject commit 73cdbd0dab31a5bd2fb1dfa05d6db52a685c44d9