From fe92f6a7e33ebc38fc6acf4f1a7e31d8073c6d9f Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Tue, 12 Nov 2019 10:47:17 +0100 Subject: Add setting to use proportional font --- template.go | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'template.go') diff --git a/template.go b/template.go index 7aee61a..54aa53a 100644 --- a/template.go +++ b/template.go @@ -15,6 +15,13 @@ var tpltext = ` src: url('{{ .Assets.FontW2 }}') format('woff2'), url('{{ .Assets.FontW }}') format('woff'); } + @font-face { + font-family: 'Iosevka Aile'; + font-style: normal; + font-weight: normal; + src: url('{{ .Assets.PropFontW2 }}') format('woff2'), + url('{{ .Assets.PropFontW }}') format('woff'); + } @@ -63,7 +70,7 @@ var tpltext = `
-
+      
         {{- if .Lines -}}
           {{- $content := "" -}}
           {{- range .Lines -}}
@@ -92,6 +99,10 @@ var tpltext = `
           Wrap wide content
           
         
+        
+ Monospace font + +
Image thumbnails -- cgit v1.2.3-54-g00ecf