Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Dec 17, 2023
1 parent b60ddc3 commit 30237c2
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,10 @@ sup {
top: -0.25rem;
}

ol ::marker {
color: #899b0d;
}

ul {
list-style: disc;
list-style-image: url('data:image/gif;base64,R0lGODlhCAAMAKUqAJW7HajHR7jXbaTFQJ3AMZ3CMLPTYqDENvj68Pz9+fn786PHP/7+/NXjp6THPv3+/KPGPJW8HsnbjpvAK6HEOJS7HPr89ff675W7H5q/Kdbkq6DBNsjai8rcj/v8+NvntLXPZLTUZavJTqPEPbrYcv///vr89sHWfbzTcbfQaP///////////////////////////////////////////////////////////////////////////////////////yH5BAEAAD8ALAAAAAAIAAwAAAYswJ9wSCwaj0jjaTTgDFGRBQTQERIcJMEhINxQQoaCSCipTDIYzbABSn2SvyAAOw==');
Expand Down
2 changes: 1 addition & 1 deletion index.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion widget/archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
$archives = [];
$deep = 0;
$route_archive = $state->x->archive->route ?? '/archive';
$route_blog = $route ?? $state->routeBlog;
$route_blog = $route ?? $state->routeBlog ?? '/article';
$folder = LOT . D . 'page' . $route_blog;
if ($file = exist([
$folder . '.archive',
Expand Down
2 changes: 1 addition & 1 deletion widget/form/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

echo self::widget([
'content' => isset($state->x->search) ? self::form('search', [
'route' => $route ?? $state->routeBlog,
'route' => $route ?? $state->routeBlog ?? '/article',
]) : '<p role="status">' . i('Missing %s extension.', ['<a href="https://mecha-cms.com/store/extension/search" target="_blank">search</a>']) . '</p>',
'title' => $title ?? i('Search')
]);
2 changes: 1 addition & 1 deletion widget/page.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

$deep = 0;
$folder = LOT . D . 'page' . ($route ?? $state->routeBlog);
$folder = LOT . D . 'page' . ($route ?? $state->routeBlog ?? '/article');
if ($file = exist([
$folder . '.archive',
$folder . '.page'
Expand Down
2 changes: 1 addition & 1 deletion widget/tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

if (isset($state->x->tag)) {
$deep = 0;
$folder = LOT . D . 'page' . ($route ?? $state->routeBlog);
$folder = LOT . D . 'page' . ($route ?? $state->routeBlog ?? '/article');
if ($file = exist([
$folder . '.archive',
$folder . '.page'
Expand Down

0 comments on commit 30237c2

Please sign in to comment.