Skip to content

Commit

Permalink
refactor: add partials/extra-foot template
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed May 31, 2024
1 parent 9deb921 commit 20f9978
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions src/shibuya/theme/shibuya/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,6 @@
{%- endfor %}
{% block theme_scripts %}{% endblock %}
{%- endblock %}
{%- include "partials/extra-foot.html" -%}
</body>
</html>
2 changes: 1 addition & 1 deletion src/shibuya/theme/shibuya/layout/compact.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "base.html" %}
{%- extends "base.html" -%}

{%- block extrahead -%}
{% include "components/meta-opengraph.html" %}
Expand Down
2 changes: 1 addition & 1 deletion src/shibuya/theme/shibuya/layout/default.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% extends "base.html" %}
{%- extends "base.html" -%}

{%- block extrahead -%}
{% include "components/meta-opengraph.html" %}
Expand Down
6 changes: 3 additions & 3 deletions src/shibuya/theme/shibuya/page.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{%- if meta and meta.layout -%}
{% extends 'layout/' + meta.layout + '.html' %}
{% else %}
{% extends 'layout/' + theme_page_layout + '.html' %}
{%- extends 'layout/' + meta.layout + '.html' -%}
{%- else -%}
{%- extends 'layout/' + theme_page_layout + '.html' -%}
{%- endif -%}
Empty file.

0 comments on commit 20f9978

Please sign in to comment.