-
-
Notifications
You must be signed in to change notification settings - Fork 498
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements for template favicon and metadata handling (#1650)
- Loading branch information
1 parent
c0a6d21
commit 1088ce1
Showing
5 changed files
with
65 additions
and
29 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,15 @@ | |
|
||
<!-- goes in body --> | ||
{% block preamble %} | ||
{% if app_favicon %}<link rel="icon" href="{{ app_favicon }}" type="{{favicon_type}}">{% endif %} | ||
{% if meta_name %}<meta name="name" content="{{ meta_name }}">{% endif %} | ||
{% if meta_description %}<meta name="description" content="{{ meta_description }}">{% endif %} | ||
{% if meta_keywords %}<meta name="keywords" content="{{ meta_keywords }}">{% endif %} | ||
{% if meta_author %}<meta name="author" content="{{ meta_author }}">{% endif %} | ||
{% if meta_refresh %}<meta http-equiv="refresh" content="{{ meta_refresh }}">{% endif %} | ||
{% if meta_viewport %}<meta name="viewport" content="{{ meta_viewport }}">{% endif %} | ||
{% if base_url and base_target %}<base href="{{ base_url }}" target="{{ base_target }}">{% endif %} | ||
|
||
<link href="https://unpkg.com/[email protected]/dist/material-components-web.min.css" rel="stylesheet"> | ||
<script src="https://unpkg.com/[email protected]/dist/material-components-web.min.js"></script> | ||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet"> | ||
|