diff --git a/CHANGELOG.gmi b/CHANGELOG.gmi index a15a7cd..0c21427 100644 --- a/CHANGELOG.gmi +++ b/CHANGELOG.gmi @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. => https://keepachangelog.com/en/1.0.0/ The format is based on keep a Changelog. => https://semver.org/spec/v2.0.0.html And this project adheres to Semantic Versioning. +## [1.5.1] - 2023-08-01 +* Adds style from Omar Polo's site, thanks to +* Fix getCss() calls, thanks to +* Fixes a bug on CSS when hosted on filesystem root +* Fix typo in the English documentation about Apache + ## [1.5.0] - 2022-08-23 * Adds the Lagrange style, thanks to Eric * Adds circumlunar css diff --git a/index.gmi b/index.gmi index 13b6ac5..07d3eaf 100644 --- a/index.gmi +++ b/index.gmi @@ -1,6 +1,6 @@ ``` __ __ __ ______ -|\ \ |\ \ |\ \ /\ \ v1.5.0 +|\ \ |\ \ |\ \ /\ \ v1.5.1 | ▓▓ | ▓▓_| ▓▓_ ______ ____ | ▓▓▓▓▓▓\ | ▓▓__| ▓▓ ▓▓ \ |\ \ \| ▓▓ __\▓▓/\ \| \ \ | ▓▓ ▓▓\▓▓▓▓▓▓ | ▓▓▓▓▓▓\▓▓▓▓\ ▓▓| \ ▓▓▓▓▓▓\ ▓▓▓▓▓▓\▓▓▓▓\ diff --git a/index.php b/index.php index 6f3eea3..b0e8f9f 100644 --- a/index.php +++ b/index.php @@ -122,6 +122,7 @@ if (empty($style)) { $gt_html->addCss($php_self_dir.DEFAULT_CSS); } else { $style = preg_replace("/,/", "/", $style); + if ("/" == $php_self_dir) $php_self_dir = ""; # dirname() never use a final slash except for the root $gt_html->addCss("$php_self_dir/css/$style"); }