2019-09-30 15:38:41 +03:00
|
|
|
<!--
|
|
|
|
The Pannel on right side (Desktop views)
|
2020-01-02 16:17:49 +03:00
|
|
|
v2.0
|
|
|
|
https://github.com/cotes2020/jekyll-theme-chirpy
|
2019-09-30 15:38:41 +03:00
|
|
|
© 2017-2019 Cotes Chung
|
|
|
|
MIT License
|
|
|
|
-->
|
|
|
|
|
2020-04-07 15:23:57 +03:00
|
|
|
<div id="panel-wrapper" class="col-xl-3 pl-2 text-muted topbar-down">
|
2019-09-30 15:38:41 +03:00
|
|
|
|
2019-10-29 09:09:58 +03:00
|
|
|
<div class="access">
|
2019-09-30 15:38:41 +03:00
|
|
|
|
2020-11-18 20:58:35 +03:00
|
|
|
{% include update-list.html %}
|
|
|
|
|
|
|
|
{% if update_list.size > 0 %}
|
|
|
|
|
2020-02-28 19:16:47 +03:00
|
|
|
<div id="access-lastmod" class="post">
|
2020-10-27 00:14:33 +03:00
|
|
|
<span>{{- site.data.label.panel.lastmod -}}</span>
|
2019-10-29 12:05:28 +03:00
|
|
|
<ul class="post-content pl-0 pb-1 ml-1 mt-2">
|
2020-04-09 22:15:51 +03:00
|
|
|
|
2020-05-09 19:28:18 +03:00
|
|
|
{% for item in update_list %}
|
2020-11-18 20:58:35 +03:00
|
|
|
{% assign index = item | split: "::" | last | plus: 0 %}
|
|
|
|
{% assign post = site.posts[index] %}
|
|
|
|
{% assign url = post.url | relative_url %}
|
|
|
|
<li><a href="{{ url }}">{{ post.title }}</a></li>
|
2020-04-09 22:15:51 +03:00
|
|
|
{% endfor %}
|
|
|
|
|
2019-10-29 12:05:28 +03:00
|
|
|
</ul>
|
2020-11-18 20:58:35 +03:00
|
|
|
</div> <!-- #access-lastmod -->
|
|
|
|
|
|
|
|
{% endif %}
|
2019-09-30 15:38:41 +03:00
|
|
|
|
2020-06-03 17:49:28 +03:00
|
|
|
{% include trending-tags.html %}
|
2020-06-01 17:59:09 +03:00
|
|
|
|
|
|
|
{% if trending_tags.size > 0 %}
|
2019-10-29 12:05:28 +03:00
|
|
|
<div id="access-tags">
|
2020-10-27 00:14:33 +03:00
|
|
|
<span>{{- site.data.label.panel.trending_tags -}}</span>
|
2019-10-29 12:05:28 +03:00
|
|
|
<div class="d-flex flex-wrap mt-3 mb-1 mr-3">
|
2020-10-27 00:14:33 +03:00
|
|
|
|
2020-05-09 19:28:18 +03:00
|
|
|
{% for tag in trending_tags %}
|
|
|
|
{% capture url %}/tags/{{ tag | downcase | url_encode }}/{% endcapture %}
|
|
|
|
<a class="post-tag" href="{{ url | relative_url }}">{{ tag | replace: '-', ' ' }}</a>
|
2020-06-11 16:16:44 +03:00
|
|
|
{% endfor %}
|
2020-10-27 00:14:33 +03:00
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-06-01 17:59:09 +03:00
|
|
|
{% endif %}
|
2019-10-29 12:05:28 +03:00
|
|
|
</div> <!-- .access -->
|
|
|
|
|
|
|
|
{% if page.layout == 'post' and site.toc and page.toc %}
|
2019-12-31 18:17:27 +03:00
|
|
|
<div id="toc-wrapper" class="pl-0 pr-4 mb-5">
|
2020-10-27 00:14:33 +03:00
|
|
|
<span class="pl-3 pt-2 mb-2">
|
2019-10-29 09:09:58 +03:00
|
|
|
{{- site.data.label.panel.toc -}}
|
2020-10-27 00:14:33 +03:00
|
|
|
</span>
|
2019-10-29 09:09:58 +03:00
|
|
|
<nav id="toc" data-toggle="toc"></nav>
|
|
|
|
</div>
|
2019-10-29 12:05:28 +03:00
|
|
|
{% endif %}
|
2019-10-29 09:09:58 +03:00
|
|
|
|
2019-12-31 18:17:27 +03:00
|
|
|
</div> <!-- #panel-wrapper -->
|