mirror of
https://github.com/cotes2020/jekyll-theme-chirpy.git
synced 2025-12-18 05:41:31 +00:00
perf(build): use jekyll-include-cache plugin to reduce build time (#1098)
Resolve #1094 and add margin bottom for layout tags Co-authored-by: Jake Kerr <kodafox@gmail.com>
This commit is contained in:
@@ -26,11 +26,11 @@ layout: compress
|
||||
<div id="main" class="container px-xxl-5">
|
||||
{% include topbar.html lang=lang %}
|
||||
{{ content }}
|
||||
{% include search-results.html lang=lang %}
|
||||
{% include_cached search-results.html lang=lang %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include footer.html lang=lang %}
|
||||
{% include_cached footer.html lang=lang %}
|
||||
|
||||
<div id="mask"></div>
|
||||
|
||||
@@ -71,6 +71,6 @@ layout: compress
|
||||
{% include mermaid.html %}
|
||||
{% endif %}
|
||||
|
||||
{% include search-loader.html %}
|
||||
{% include_cached search-loader.html %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -40,8 +40,8 @@ layout: default
|
||||
<!-- panel -->
|
||||
<div id="panel-wrapper" class="col-xl-3 ps-2 text-muted">
|
||||
<div class="access">
|
||||
{% include update-list.html lang=lang %}
|
||||
{% include trending-tags.html lang=lang %}
|
||||
{% include_cached update-list.html lang=lang %}
|
||||
{% include_cached trending-tags.html lang=lang %}
|
||||
</div>
|
||||
|
||||
{% for _include in layout.panel_includes %}
|
||||
|
||||
@@ -3,7 +3,7 @@ layout: page
|
||||
# All the Tags of posts.
|
||||
---
|
||||
|
||||
<div id="tags" class="d-flex flex-wrap mx-xl-2">
|
||||
<div id="tags" class="d-flex flex-wrap mx-xl-2 mb-5">
|
||||
{% assign tags = '' | split: '' %}
|
||||
{% for t in site.tags %}
|
||||
{% assign tags = tags | push: t[0] %}
|
||||
|
||||
Reference in New Issue
Block a user