diff --git a/assets/main.css b/assets/main.css index 80c031c..0702d17 100644 --- a/assets/main.css +++ b/assets/main.css @@ -423,6 +423,22 @@ body { display: block; } +#sidebar > .menu-container > .menu#menu-metas > .menu-item-parent > *:first-child { + position: relative; +} + +#sidebar > .menu-container > .menu#menu-metas > .menu-item-parent > *:first-child:after { + position: absolute; + left: 0; + margin-left: -1rem; + color: inherit; +} + +#sidebar > .menu-container > .menu#menu-metas > .menu-item-parent > .children { + padding-left: 0; + border-left-width: 0; +} + /* /* diff --git a/constant.php b/constant.php index 67bc662..2a7a0dd 100644 --- a/constant.php +++ b/constant.php @@ -3,5 +3,5 @@ const APP_NAME = "ph-Bookshelf"; const VERSION = "0.3.0.1"; -const CHANNEL = "workshop-origin"; +const CHANNEL = "suk-ws"; const BRANCH = "master"; diff --git a/src/Data/SiteMeta.php b/src/Data/SiteMeta.php index b1454c7..7698bd9 100644 --- a/src/Data/SiteMeta.php +++ b/src/Data/SiteMeta.php @@ -11,6 +11,10 @@ class SiteMeta { return APP_NAME." ".VERSION; } + public static function getProgramVersion(): string { + return sprintf("%s @%s/%s", VERSION, CHANNEL, BRANCH); + } + /** * @throws Exception */ diff --git a/template/demo.html b/template/demo.html index fe5a72c..ff4cc03 100644 --- a/template/demo.html +++ b/template/demo.html @@ -1,10 +1,30 @@ + require_once "./src/Data/SiteMeta.php"; ?>