diff --git a/css/style.css b/css/style.css
index 7852603..e74534f 100755
--- a/css/style.css
+++ b/css/style.css
@@ -1,14 +1,21 @@
body {
margin:40px auto; /* Center it */
background-color: black;
- color: white;
+ color: white;
font-size: 150%; /* Smaller type works well for print, not the screen. */
max-width:650px; /* If your text hits the side of the browser, fuck off forever. You ever see a book like that? Yes? What a shitty book. */
font-family: monospace;
+ padding-left: 15px;
+ padding-right: 15px;
+}
+hr {
+ border: none;
+ height: 2px;
+ background-color: darkgrey;
}
a {
text-decoration: none; /* No */
-}
+}
a:link {color: chartreuse;} /* unvisited link */
a:visited {color: chartreuse;} /* visited link */
a:hover {color: cyan;} /* mouse over link */
diff --git a/metadata.json b/metadata.json
index 67e3a08..39b29c3 100755
--- a/metadata.json
+++ b/metadata.json
@@ -2,10 +2,10 @@
"author": "Czarek Nakamoto",
"email": "https://mrcyjanek.net",
"website": "https://oldpc.mrcyjanek.net/blog/",
- "version": "1.0.0",
- "releaseDate": "2020-05-16",
+ "version": "2.0.0",
+ "releaseDate": "2024-08-01",
"license": "WTFPL",
- "compatible": "3.x",
+ "compatible": "3.15",
"notes": "It couldn't be more minimal"
}
diff --git a/php/head.php b/php/head.php
index 27abb32..131cbe1 100755
--- a/php/head.php
+++ b/php/head.php
@@ -1,6 +1,7 @@
+
diff --git a/php/header.php b/php/header.php
index 57cf208..f73f0c0 100755
--- a/php/header.php
+++ b/php/header.php
@@ -1,47 +1,19 @@
slogan() ?>
+
diff --git a/php/home.php b/php/home.php
index 47108ba..b5cbd9e 100755
--- a/php/home.php
+++ b/php/home.php
@@ -17,23 +17,16 @@
- date(); ?> |
- category()):?>
- category() ?>
+ date(); ?> (get('Reading time') . ': ' . $page->readingTime() ?>)
+ category()):?> | category() ?>
- description())>0 ){
- echo $page->description();
- } else {
- $max = 333;
- $all = explode(' ', substr($page->content(false), 0, $max));
- array_pop($all);
- echo implode(' ', $all);
- if (strlen($page->content(false)) > $max) {
- echo "... ";
- }
- }?>
+
+ contentBreak(); ?>
+
+ readMore()) : ?>
get('Read more'); ?>
+
+
diff --git a/php/page.php b/php/page.php
index 0b33756..1b4d341 100755
--- a/php/page.php
+++ b/php/page.php
@@ -2,7 +2,7 @@
title(); ?>
isStatic() && !$url->notFound()): ?>
- date(); ?>
+ date(); ?> (get('Reading time') . ': ' . $page->readingTime() ?>)
category()):?> | category() ?>