flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit 4a693e0ca95cf0bd28738f79578cc77450d04fbe
parent 2892b866cd0a7127e8aa8ef037e1a9dc405e2d79
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sat, 27 Mar 2021 22:50:34 -0700

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.

Diffstat:
Mtemplates/header.html | 2++
Mtemplates/user_page.html | 2++
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/templates/header.html b/templates/header.html @@ -2,6 +2,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>{{.Config.SiteTitle}}</title> <meta name="viewport" content="width=device-width" /> diff --git a/templates/user_page.html b/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" }}