Use Fira Mono font for code samples (#518)
Signed-off-by: lucperkins <lucperkins@gmail.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
{{ end }}
|
||||
{{ $fontsUrl := printf "https://fonts.googleapis.com/css?family=%s" (delimit $fontSlice "|") }}
|
||||
{{ $sansSerifFont := .Site.Params.sansSerifFont }}
|
||||
//{{ $monospaceFont := .Site.Params.monospaceFont }}
|
||||
{{ $monospaceFont := .Site.Params.monospaceFont }}
|
||||
{{ $fontAwesomeVersion := .Site.Params.fontAwesomeVersion }}
|
||||
{{ $fontAwesomeUrl := printf "https://use.fontawesome.com/releases/v%s/css/all.css" $fontAwesomeVersion }}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ hrefTargetBlank = true
|
||||
[params]
|
||||
favicon = "https://raw.githubusercontent.com/cncf/artwork/master/virtualkubelet/icon/color/virtualkubelet-icon-color.png"
|
||||
sansSerifFont = "Noto Sans TC"
|
||||
#monospaceFont = "Fira Mono"
|
||||
monospaceFont = "Fira Mono"
|
||||
fontAwesomeVersion = "5.5.0"
|
||||
description = "Virtual Kubelet is an open-source Kubernetes kubelet implementation that masquerades as a kubelet"
|
||||
intro = """
|
||||
@@ -38,6 +38,10 @@ sidebar = "https://raw.githubusercontent.com/cncf/artwork/master/virtualkubelet/
|
||||
name = "Noto Sans TC"
|
||||
sizes = [300,400,600,700]
|
||||
|
||||
[[params.fonts]]
|
||||
name = "Fira Mono"
|
||||
sizes = [400]
|
||||
|
||||
[[params.social]]
|
||||
name = "GitHub"
|
||||
color = "black"
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
{"Target":"css/style.35ad12b92255aeb32325f4f75c3b731908876cea6d08e142530f92e44ea8d018.css","MediaType":"text/css","Data":{"Integrity":"sha256-Na0SuSJVrrMjJfT3XDtzGQiHbOptCOFCUw+S5E6o0Bg="}}
|
||||
{"Target":"css/style.195ae0f09ce8c850c077ba0daff4a8057c9ce1a6c4e3cfbb017f700301a190c8.css","MediaType":"text/css","Data":{"Integrity":"sha256-GVrg8JzoyFDAd7oNr/SoBXyc4abE48+7AX9wAwGhkMg="}}
|
||||
Reference in New Issue
Block a user