fix: OJ short name on the blog nav bar did not use general settings

We set OJ name in the config file but when we use blog, it makes no difference. Replace original UOJ to general setting sets.
This commit is contained in:
MascoSkray 2017-06-01 10:34:42 +08:00
parent e1b17aa3ca
commit 20589aa2d2
No known key found for this signature in database
GPG Key ID: 6ABABD8325167A2E

View File

@ -13,7 +13,7 @@
<ul class="nav navbar-nav">
<li><a href="<?= HTML::blog_url(UOJContext::userid(), '/archive')?>">日志</a></li>
<li><a href="<?= HTML::blog_url(UOJContext::userid(), '/aboutme')?>">关于我</a></li>
<li><a href="<?= HTML::url('/') ?>">UOJ</a></li>
<li><a href="<?= HTML::url('/') ?>"><?= UOJConfig::$data['profile']['oj-name-short'] ?></a></li>
</ul>
</div><!--/.nav-collapse -->
</div>