aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--config.toml2
-rw-r--r--themes/flamingo/assets/scss/_fonts.scss9
-rw-r--r--themes/flamingo/layouts/_default/baseof.html8
4 files changed, 5 insertions, 18 deletions
diff --git a/Makefile b/Makefile
index b9fdd0d..a5553fc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,5 @@
-
-
all: openring
- hugo
+ hugo --minify
serve: openring
hugo serve
diff --git a/config.toml b/config.toml
index bf38398..48c278a 100644
--- a/config.toml
+++ b/config.toml
@@ -10,6 +10,8 @@ staticDir = ['static']
[markup]
defaultMarkdownHandler = "goldmark"
+ [markup.highlight]
+ style='abap'
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
diff --git a/themes/flamingo/assets/scss/_fonts.scss b/themes/flamingo/assets/scss/_fonts.scss
index 586ad0a..5add784 100644
--- a/themes/flamingo/assets/scss/_fonts.scss
+++ b/themes/flamingo/assets/scss/_fonts.scss
@@ -1,10 +1,6 @@
-* {
- box-sizing: border-box;
- font-family: 'DejaVu Sans';
-
-}
body {
margin: 0;
+ font-family: 'DejaVu Sans';
}
h1, h2, h3, h4 {
font-weight: 400;
@@ -14,9 +10,6 @@ code[class*="language-"], nav, .blog-list {
font-weight: 400;
font-size: 1.025rem;
}
-code {
- font-family: "DejaVu Sans Mono";
-}
tags {
font-family: "DejaVu Sans Mono";
diff --git a/themes/flamingo/layouts/_default/baseof.html b/themes/flamingo/layouts/_default/baseof.html
index 0be16e5..d253d72 100644
--- a/themes/flamingo/layouts/_default/baseof.html
+++ b/themes/flamingo/layouts/_default/baseof.html
@@ -4,17 +4,11 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
-
{{ with .Site.Params.favicon }}<link rel="icon" type="image/png" href="{{ . }}" />{{ end }}
-
<title itemprop="name"> {{ .Title }} </title>
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
-
- {{ with resources.Get "scss/main.scss" | toCSS | minify }}
- <style>{{ .Content | safeCSS }}</style>
- {{ end }}
-
+ {{ with resources.Get "scss/main.scss" | toCSS | minify }}<style>{{ .Content | safeCSS }}</style>{{ end }}
{{ partial "meta" . }}
</head>
<body>