all repos — flounder @ 4a693e0ca95cf0bd28738f79578cc77450d04fbe

A small site builder for the Gemini protocol

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
commit

4a693e0ca95cf0bd28738f79578cc77450d04fbe

parent

2892b866cd0a7127e8aa8ef037e1a9dc405e2d79

2 files changed, 4 insertions(+), 0 deletions(-)

jump to
M templates/header.htmltemplates/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.htmltemplates/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" }}