-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathsidebar.php
More file actions
28 lines (28 loc) · 1.17 KB
/
Copy pathsidebar.php
File metadata and controls
28 lines (28 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<div class="vMenu shadow-1" id="vMenu">
<div class="v-menu-assembly">
<div class="Blog-logo">
<div class="iam-img" id="logo"></div>
<div class="iam-t">
<span><?php $this->options->title() ?></span>
<p><?php $this->options->description() ?></p>
</div>
</div>
</div>
<div class="colorBar" style="margin: 0 auto;margin-bottom: 24px;width: 100px"></div>
<div class="v-menu-assembly">
<ul class="vMenu-item-list">
<?php $this->widget('Widget_Contents_Page_List')->to($pages); ?>
<?php while($pages->next()): ?>
<a<?php if($this->is('page', $pages->slug)): ?> class="current"<?php endif; ?> href="<?php $pages->permalink(); ?>" title="<?php $pages->title(); ?>"><li class="mdui-ripple"><?php $pages->title(); ?></li></a>
<?php endwhile; ?>
<a href="<?php $this->options->feedUrl(); ?>"><li class="mdui-ripple">RSS</li></a>
</ul>
</div>
</div>
<div class="overlay"></div>
<script>
$('.iam-img').css({
backgroundImage : "url("+logo+")"
});
</script>