diff options
author | mayx | 2022-01-26 10:05:22 +0000 |
---|---|---|
committer | mayx | 2022-01-26 10:05:22 +0000 |
commit | b3940014e65f21a55365570bcb009d5b2c9c4837 (patch) | |
tree | b4fff08899a1af416b9140ffeb55b6cc1862cab5 | |
parent | 291065de99dc6bfd5507a128a2933fe9ea78da43 (diff) |
Update default.html
-rw-r--r-- | _layouts/default.html | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 7605db3..2807185 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -98,7 +98,7 @@ <li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li> <li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li> {% else %} - <li style="width: 270px;"><a href="/MayxBlog.tgz">Download <strong>TAR File</strong></a></li> + <li style="width: 270px;border-right:1px solid #e0e0e0;"><a href="/MayxBlog.tgz">Download <strong>TGZ File</strong></a></li> {% endif %} </ul> </header> @@ -135,21 +135,10 @@ <div id="open_live2d">召唤伊斯特瓦尔</div> <!-- <![endif]--> <footer> - {% if site.github.is_project_page %} - <p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p> - {% endif %} - <p><small>Made with ❤ by Mayx<br />Last updated at <script>document.write(lastUpdated.format("yyyy-MM-dd hh:mm:ss"));</script><br /> 总字数:{% assign count = 0 %} -{% for post in site.posts %} - {% assign single_count = post.content | strip_html | strip_newlines | remove: " " | size %} - {% assign count = count | plus: single_count %} -{% endfor %} -{% if count > 10000 %} - {{ count | divided_by: 10000 }} 万 {{ count | modulo: 10000 }} -{% else %} - {{ count }} - {% endif %} - 文章数:{% for post in site.posts %} - {% assign co = co | plus: 1 %} - {% endfor %}{{ co }} - <a href="{{ "/atom.xml" | relative_url }}" >Atom</a> - <a href="{{ "/README.html" | relative_url }}" >About</a></small></p> + <p><small>Made with ❤ by Mayx<br />Last updated at <script>document.write(lastUpdated.format("yyyy-MM-dd hh:mm:ss"));</script><br /> 总字数: +{% assign count = 0 %}{% for post in site.posts %}{% assign single_count = post.content | strip_html | strip_newlines | remove: " " | size %} +{% assign count = count | plus: single_count %}{% endfor %}{% if count > 10000 %}{{ count | divided_by: 10000 }} 万 {{ count | modulo: 10000 }} +{% else %}{{ count }}{% endif %} - 文章数:{% for post in site.posts %}{% assign co = co | plus: 1 %}{% endfor %}{{ co }} - <a href="{{ "/atom.xml" | relative_url }}" >Atom</a> - <a href="{{ "/README.html" | relative_url }}" >About</a></small></p> </footer> </div> <script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script> |