Skip to content

Add jekyll-include-cache gem #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ sass:

markdown: kramdown
plugins:
- jekyll-include-cache
- jekyll-sitemap
exclude:
- Gemfile
Expand Down
8 changes: 6 additions & 2 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
<div class="inner">
<ul id="socials">
{%- for social in site.data.socials -%}
<li><a href="{{ social.url }}" title="{{ social.name }}" rel="me" target="_blank">{% include icons/{{ social.icon }} %}<span class="sr-only">{{ social.name }}</span></a></li>{%- endfor -%}
<li><a href="{{ social.url }}" title="{{ social.name }}" rel="me" target="_blank">{% include_cached icons/{{ social.icon }} %}<span class="sr-only">{{ social.name }}</span></a></li>{%- endfor -%}
</ul>
{% capture license %}{% include icons/creative-commons.svg size="24" %}{% include icons/creative-commons-by.svg size="24" %}{% include icons/creative-commons-sa.svg size="24" %}{% endcapture %}
{% capture license %}
{% include_cached icons/creative-commons.svg size="24" %}
{% include_cached icons/creative-commons-by.svg size="24" %}
{% include_cached icons/creative-commons-sa.svg size="24" %}
{% endcapture %}
<hr/>
<div id="bottom-footer">
<span>Copyright &copy; 1998-{{ site.time | date: "%Y" }} bugzilla.org contributors</span>
Expand Down
4 changes: 2 additions & 2 deletions _layouts/base.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<!DOCTYPE html>
<html lang="en">
{% include head.html %}
{% include_cached head.html %}
<body id="www-bugzilla-org" class="homepage">
{% include header.html %}
{% include socials.html %}
<main>
{{ content }}
</main>
{% include footer.html %}
{% include_cached footer.html %}
</body>
</html>
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="card">
<p class="date muted">{{ page.date | date: '%d. %B %Y' }}</p>
<h1 class="title">{{ page.title }}</h1>
{% include authors.html authors=page.author %}
{% include_cached authors.html authors=page.author %}
{{ content }}
</div>
</div>