Broke footer out into a partial

This commit is contained in:
Andy Miller
2019-01-13 16:49:06 -07:00
parent c52a997445
commit 9a64094683
5 changed files with 12 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1130,6 +1130,10 @@ body.sidebar-quickopen #admin-main {
#footer {
text-align: center;
padding: 3rem 0 1rem;
p {
margin: 0;
}
}
// Chart overrides

View File

@@ -68,7 +68,7 @@
</div>
{% block footer %}
<footer id="footer">
<a href="http://getgrav.org">Grav</a> v<span class="grav-version">{{ constant('GRAV_VERSION') }}</span> - Admin v{{ admin_version }} - {{ "PLUGIN_ADMIN.WAS_MADE_WITH"|tu|lower }} <i class="fa fa-heart-o pulse"></i> {{ "PLUGIN_ADMIN.BY"|tu|lower }} <a href="https://trilby.media">Trilby Media</a>.
{% include 'partials/footer.html.twig' %}
</footer>
{% endblock %}
</div>

View File

@@ -0,0 +1,5 @@
{% if custom_admin_footer %}
{{ custom_admin_footer|raw }}
{% else %}
<a href="http://getgrav.org">Grav</a> v<span class="grav-version">{{ constant('GRAV_VERSION') }}</span> - Admin v{{ admin_version }} - {{ "PLUGIN_ADMIN.WAS_MADE_WITH"|tu|lower }} <i class="fa fa-heart-o pulse"></i> {{ "PLUGIN_ADMIN.BY"|tu|lower }} <a href="https://trilby.media">Trilby Media</a>.
{% endif %}