ChatGPT makes it much easier to modify configurations for my website. I changed the font to Montserrat—an open source font provided by Google font (fonts.google.com) that is highly similar to Google’s proprietary logo font Product Sans.

Google Sans [and Product Sans] is not available for use outside of Google. It is our brand font and is exclusively used in Google products.

Fine. Google font has a delivery service—everytime the website loads, it fetches font files from Google. So that only a few lines are required to do the customization:

Put the following in <head> of HTML layouts/_defaults/baseof.html

<head>
    {{- partial "head.html" . }}
    <!-- Google Fonts Link -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Product+Sans:wght@400;700&display=swap" rel="stylesheet">
    <!-- Custom Stylesheet, redirected to css/custom.css -->
    <link rel="stylesheet" href="{{ (resources.Get "css/custom.css" | resources.Fingerprint).Permalink }}">
    <!-- Additional Google tag (gtag.js) -->
</head>

Customize in custom.css:

body, button, input, textarea {
    font-family: 'Montserrat', sans-serif;
}

The location of the files varies for different website templates. But the basic logic is the same: first you have to get the font file, either fetch it from some online service portal API or just download and place it in the website’s serving files (for example, in ‘assets’). Second, configure somewhere to say that ‘yes we’re using the font’. That’s all.

Really, one thing that LLM/NLP would revolutionize is coding courses. Coding entry becomes lower. Emphasize would shift even more from understanding semantics to understanding logic of the code.

reference

Using web fonts from a font delivery service. Google. https://fonts.google.com/knowledge/using_type/using_web_fonts_from_a_font_delivery_service