read-next modifications

This commit is contained in:
CaptainArk 2019-01-06 17:58:41 +01:00
parent bd11dc3e77
commit 5d69f84467
25 changed files with 60 additions and 7 deletions

View File

@ -1,3 +1,6 @@
{{ if eq (printf "%v" $.Site.BaseURL) "http://localhost:1313/" }}
{{"<!-- Not loading Fathom on localhost //-->" | safeHTML}}
{{ else }}
<!-- Fathom - simple website analytics - https://github.com/usefathom/fathom --> <!-- Fathom - simple website analytics - https://github.com/usefathom/fathom -->
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
@ -13,4 +16,5 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<!-- / Fathom --> <!-- / Fathom -->
{{ end }}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -136,6 +136,7 @@
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -150,6 +151,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -136,6 +136,7 @@ Since I wrote an init script for it a while back, and it is compatible with " />
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -150,6 +151,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -135,6 +135,7 @@
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -149,6 +150,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -136,6 +136,7 @@ From the 4 Debian machines I had to keep up-to-date, I now " />
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -150,6 +151,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -135,6 +135,7 @@
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -149,6 +150,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -135,6 +135,7 @@
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -149,6 +150,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -135,6 +135,7 @@
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -149,6 +150,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -135,6 +135,7 @@
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -149,6 +150,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -136,6 +136,7 @@ I&amp;rsquo;ve been wanting to write a quick shell script to ve" />
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -150,6 +151,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -135,6 +135,7 @@
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -149,6 +150,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -136,6 +136,7 @@ I&amp;rsquo;ve recently realized that the " />
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -150,6 +151,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -118,6 +118,7 @@
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -132,6 +133,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -135,6 +135,7 @@
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -149,6 +150,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -118,6 +118,7 @@
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -132,6 +133,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -2014,10 +2014,11 @@ body:not(.post-template) .post-title {
text-decoration: none; text-decoration: none;
position: relative; position: relative;
text-align: center; text-align: center;
color: #fff; color: #F7FAFB;
background: #222 no-repeat center center; background: #F7FAFB no-repeat center center;
background-size: cover; background-size: cover;
overflow: hidden; overflow: hidden;
margin-bottom: 4px;
} }
.read-next-story:hover:before { .read-next-story:hover:before {
background: rgba(0,0,0,0.8); background: rgba(0,0,0,0.8);
@ -2025,7 +2026,7 @@ body:not(.post-template) .post-title {
} }
.read-next-story:hover .post:before { .read-next-story:hover .post:before {
color: #222; color: #222;
background: #fff; background: #F7FAFB;
transition: all 0.2s ease; transition: all 0.2s ease;
} }
@ -2042,8 +2043,8 @@ body:not(.post-template) .post-title {
} }
.read-next-story .post { .read-next-story .post {
padding-top: 6rem; padding-top: 4rem;
padding-bottom: 6rem; padding-bottom: 4rem;
border-bottom: none; border-bottom: none;
} }
@ -2064,7 +2065,7 @@ body:not(.post-template) .post-title {
.read-next-story h2 { .read-next-story h2 {
margin-top: 1rem; margin-top: 1rem;
color: #fff; color: #F7FAFB;
} }
.read-next-story p { .read-next-story p {
@ -2094,6 +2095,10 @@ body:not(.post-template) .post-title {
color: rgba(0,0,0,0.5); 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 */ /* if there are two posts without covers, put a border between them */
.read-next-story.no-cover + .read-next-story.no-cover { .read-next-story.no-cover + .read-next-story.no-cover {
border-left: rgba(0,0,100,0.04) 1px solid; border-left: rgba(0,0,100,0.04) 1px solid;

View File

@ -116,6 +116,7 @@
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -130,6 +131,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -116,6 +116,7 @@
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -130,6 +131,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -116,6 +116,7 @@
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -130,6 +131,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -118,6 +118,7 @@
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -132,6 +133,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -118,6 +118,7 @@
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -132,6 +133,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -118,6 +118,7 @@
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -132,6 +133,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -135,6 +135,7 @@
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -149,6 +150,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

View File

@ -118,6 +118,7 @@
<script> <script>
(function(f, a, t, h, o, m){ (function(f, a, t, h, o, m){
a[h]=a[h]||function(){ a[h]=a[h]||function(){
@ -132,6 +133,7 @@ fathom('set', 'siteId', 'GEWGL');
fathom('trackPageview'); fathom('trackPageview');
</script> </script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.1.5/css/fork-awesome.min.css" integrity="sha256-P64qV9gULPHiZTdrS1nM59toStkgjM0dsf5mK/UwBV4=" crossorigin="anonymous">

@ -1 +1 @@
Subproject commit 524e97e8a52fa1b21e27175774a059173c4c55b7 Subproject commit 73cdbd0dab31a5bd2fb1dfa05d6db52a685c44d9