2016-12-27 10:56:13 +01: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 10:27:25 +01: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 10:56:13 +01:00
|
|
|
{% endif %}
|
|
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
|