Skip to content

Commit

Permalink
Add bold variant of Roboto to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathew Byrne committed Aug 7, 2018
1 parent fc9fba0 commit 1871c4c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
2 changes: 1 addition & 1 deletion docs/content/recipes/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ linkTitle: Authentication
menu: { main: { parent: 'recipes' } }
---

We have an app where users are authenticated using a cookie in the HTTP request, and we want to check this authentication status in somewhere in our graph. Because GraphQL is transport agnostic we can't assume there will even be an HTTP request, so we need to expose these authention details to our graph using a middleware.
We have an app where users are authenticated using a cookie in the HTTP request, and we want to check this authentication status somewhere in our graph. Because GraphQL is transport agnostic we can't assume there will even be an HTTP request, so we need to expose these authention details to our graph using a middleware.


```go
Expand Down
33 changes: 16 additions & 17 deletions docs/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -1,25 +1,23 @@
<!DOCTYPE html>
<html>
<head {{ with .Site.LanguageCode }}lang="{{ . }}"{{ end }}>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9"/>
{{- if .Params.description }}
<meta name="description" content="{{ .Params.description }}">
{{- else }}
<meta name="description" content="{{ .Site.Params.description }}">
{{- end }}

<title>{{ if not .IsHome }}{{ .Title }} &mdash;{{ end }} {{ .Site.Title }}</title>
<head {{ with .Site.LanguageCode }}lang="{{ . }}" {{ end }}>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" /> {{- if .Params.description }}
<meta name="description" content="{{ .Params.description }}"> {{- else }}
<meta name="description" content="{{ .Site.Params.description }}"> {{- end }}

<link href="https://fonts.googleapis.com/css?family=Roboto:400,400i|Source+Code+Pro:400,700|Work+Sans:600,700" rel="stylesheet">
<link rel="stylesheet" href="{{ .Site.BaseURL }}main.css?v=3" type="text/css"/>
<link rel="stylesheet" href="{{ .Site.BaseURL }}syntax.css?v=2" type="text/css"/>
<title>{{ if not .IsHome }}{{ .Title }} &mdash;{{ end }} {{ .Site.Title }}</title>

<link href="https://fonts.googleapis.com/css?family=Roboto:400,400i,700|Source+Code+Pro:400,700|Work+Sans:600,700" rel="stylesheet">
<link rel="stylesheet" href="{{ .Site.BaseURL }}main.css?v=3" type="text/css" />
<link rel="stylesheet" href="{{ .Site.BaseURL }}syntax.css?v=2" type="text/css" />

<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-116208894-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'UA-116208894-2');
Expand All @@ -29,10 +27,11 @@
</head>

<body>
{{ partial "sidebar" . }}
{{ block "main" . }}{{ end }}
{{ partial "sidebar" . }} {{ block "main" . }}{{ end }}
<footer>
&copy; {{ now.Format "2006" }} <a href="https://github.com/vektah">Adam Scarr</a>
&copy; {{ now.Format "2006" }}
<a href="https://github.com/vektah">Adam Scarr</a>
</footer>
</body>
</html>

</html>

0 comments on commit 1871c4c

Please sign in to comment.