Skip to content

Commit

Permalink
修复了底部文章按钮链接错误
Browse files Browse the repository at this point in the history
  • Loading branch information
youranreus committed Apr 14, 2021
1 parent 82a5de1 commit fe8e91d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CSS/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ html {
.article-item{
background: #2c2a2a;
}
.article-item h2 span {
.article-item h2 span ,.article-item h2 {
color: #f0f0f0!important;
}
.article-item p{
Expand Down
2 changes: 1 addition & 1 deletion footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<nav id="nav-2">
<a href="<?php Helper::options()->siteUrl()?>">首页</a>
<?php if ($this->options->enableIndexPage): ?>
<a href="<?php Helper::options()->siteUrl()?>blog">文章</a>
<a href="<?php Helper::options()->siteUrl()?><?php if($this->options->articlePath != ''){echo $this->options->articlePath;}else{echo 'index/blog';} ?>" <?php if ($this->is('archive') or $this->is('post')) : ?> class="nav-focus"<?php endif; ?>>文章</a>
<?php endif; ?>
<?php $this->widget('Widget_Contents_Page_List')->to($pages); ?>
<?php while($pages->next()): ?>
Expand Down
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
*
*
* @package G
* @author YOURAN
* @version 2.3
* @author 季悠然
* @version 2.4
* @link https://gundam.exia.xyz/
*/

Expand Down

0 comments on commit fe8e91d

Please sign in to comment.