Skip to content

Commit

Permalink
Update django-init
Browse files Browse the repository at this point in the history
  • Loading branch information
aclark4life committed Jun 16, 2024
1 parent b6234ad commit d2f080b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1178,9 +1178,7 @@ define HTML_ERROR
endef

define HTML_FOOTER
{% load wagtailcore_tags %}
<footer class="footer mt-auto py-3 bg-body-tertiary pt-5 text-center text-small">
{% wagtail_site as current_site %}
<p class="mb-1">&copy; {% now "Y" %} {{ current_site.site_name|default:"Project Makefile" }}</p>
<ul class="list-inline">
<li class="list-inline-item"><a class="text-secondary text-decoration-none {% if request.path == '/' %}active{% endif %}" href="/">Home</a></li>
Expand Down Expand Up @@ -2006,6 +2004,10 @@ tinymce.init({
});
endef

define WAGTAIL_HTML_FOOTER
{% load wagtailcore_tags %}
endef

define WAGTAIL_HTML_HEADER
{% load wagtailcore_tags %}
{% wagtail_site as current_site %}
Expand Down Expand Up @@ -3198,8 +3200,8 @@ wagtail-backend-templates-default:
@echo "$$ALLAUTH_LAYOUT_BASE" > backend/templates/allauth/layouts/base.html
# @echo "$$WAGTAIL_BASE_TEMPLATE" > backend/templates/base.html
@echo "$$FAVICON_TEMPLATE" > backend/templates/favicon.html
@echo "$$HTML_HEADER" > backend/templates/header.html
@echo "$$HTML_FOOTER" > backend/templates/footer.html
@echo "$$HTML_HEADER" >> backend/templates/header.html
@echo "$$HTML_FOOTER" >> backend/templates/footer.html
@echo "$$HTML_OFFCANVAS" > backend/templates/offcanvas.html
$(GIT_ADD) backend/templates/

Expand Down

0 comments on commit d2f080b

Please sign in to comment.