mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-06-10 01:11:55 -04:00
Localize edit button and hide on print
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
{% import "partials/i18n.html" as i18n %}
|
||||
<!DOCTYPE html>
|
||||
<html class="no-js">
|
||||
<head>
|
||||
@@ -36,7 +37,7 @@
|
||||
{% include "partials/fonts.html" %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-9307c0da9f.css">
|
||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-d8a9749564.css">
|
||||
{% if config.extra.palette %}
|
||||
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-02ce7adcc2.palette.css">
|
||||
{% endif %}
|
||||
@@ -87,7 +88,7 @@
|
||||
<div class="md-content">
|
||||
<article class="md-content__inner md-typeset">
|
||||
{% if config.edit_uri %}
|
||||
<a href="{{ page.edit_url }}" title="Edit this page" class="md-icon md-content__edit">edit</a>
|
||||
<a href="{{ page.edit_url }}" title="{{ i18n.t('edit.link.title') }}" class="md-icon md-content__edit">edit</a>
|
||||
{% endif %}
|
||||
{% block content %}
|
||||
{% if not "\x3ch1 id=" in page.content %}
|
||||
@@ -100,7 +101,7 @@
|
||||
</div>
|
||||
</main>
|
||||
{% block footer %}
|
||||
{% include "partials/footer.html" with context %}
|
||||
{% include "partials/footer.html" %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% block scripts %}
|
||||
|
||||
Reference in New Issue
Block a user