uci-hugo-landingpage/layouts/partials/head/fonts.html

37 lines
1.2 KiB
HTML
Raw Normal View History

<!-- icon fonts -->
<link href="https://cdn.jsdelivr.net/fontawesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!-- base font -->
<link href="//fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type="text/css">
<!-- monospaced for code -->
<link href="//fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet" type="text/css">
<!-- Configurable Fonts -->
{{ with .Site.Params }}
{{ with .font }}
<link href="//fonts.googleapis.com/css?family={{ . }}" rel="stylesheet" type="text/css">
{{ end }}
{{ with .navbar.font }}
<link href="//fonts.googleapis.com/css?family={{ . }}" rel="stylesheet" type="text/css">
{{ end }}
2017-03-04 20:02:56 -08:00
{{ with .hero.font }}
<link href="//fonts.googleapis.com/css?family={{ . }}" rel="stylesheet" type="text/css">
{{ end }}
{{ with .hero.headlines_font }}
<link href="//fonts.googleapis.com/css?family={{ . }}" rel="stylesheet" type="text/css">
{{ end }}
{{ with .sections.font }}
<link href="//fonts.googleapis.com/css?family={{ . }}" rel="stylesheet" type="text/css">
{{ end }}
{{ with .sections.font_headline }}
<link href="//fonts.googleapis.com/css?family={{ . }}" rel="stylesheet" type="text/css">
{{ end }}
{{ end }}