Fetch roboto from google This is _TEMPORARY_ and not ideal -- I don't want to be connecting to Google's servers here. I should host my own fonts in the font folder.
alex wennerberg alex@alexwennerberg.com
Sat, 27 Mar 2021 22:50:34 -0700
2 files changed,
4 insertions(+),
0 deletions(-)
M
templates/header.html
→
templates/header.html
@@ -2,6 +2,8 @@ {{ define "header"}}
<!DOCTYPE html> <html lang="en"> <head> + <link rel="preconnect" href="https://fonts.gstatic.com"> + <link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet"> <meta charset="utf-8" /> <title>{{.Config.SiteTitle}}</title> <meta name="viewport" content="width=device-width" />
M
templates/user_page.html
→
templates/user_page.html
@@ -1,6 +1,8 @@
<!DOCTYPE html> <html lang="en"> <head> + <link rel="preconnect" href="https://fonts.gstatic.com"> + <link href="https://fonts.googleapis.com/css2?family=Roboto&display=swap" rel="stylesheet"> <meta charset="utf-8" /> <title>{{.PageTitle }}</title> {{ if eq .URI.Path "/gemlog" }}