2016-12-27 12:56:13 +03:00
|
|
|
{% if config.extra.font != "none" %}
|
|
|
|
{% set text = config.extra.get("font", {}).text | default("Roboto") %}
|
|
|
|
{% set code = config.extra.get("font", {}).code | default("Roboto Mono") %}
|
|
|
|
{% set font = text + ':300,400,400i,700|' + code | replace(' ', '+') %}
|
|
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family={{ font }}">
|
2016-12-29 12:27:25 +03:00
|
|
|
<style>body,input{font-family:"{{ text }}","Helvetica Neue",Helvetica,Arial,sans-serif}code,kbd,pre{font-family:"{{ code }}","Courier New",Courier,monospace}</style>
|
2016-12-27 12:56:13 +03:00
|
|
|
{% endif %}
|
|
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|