~gabrielgio/gabrielgio.me

ba8b3cd293081649f23fdc4485b7544902a8b2b7 — Gabriel Arakaki Giovanini 1 year, 6 months ago c46f979
feat: Change chroma theme
M Makefile => Makefile +1 -3
@@ 1,7 1,5 @@


all: openring
	hugo
	hugo --minify

serve: openring
	hugo serve

M config.toml => config.toml +2 -0
@@ 10,6 10,8 @@ staticDir = ['static']

[markup]
  defaultMarkdownHandler = "goldmark"
  [markup.highlight]
    style='abap'
  [markup.goldmark]
    [markup.goldmark.renderer]
      unsafe = true

M themes/flamingo/assets/scss/_fonts.scss => themes/flamingo/assets/scss/_fonts.scss +1 -8
@@ 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";

M themes/flamingo/layouts/_default/baseof.html => themes/flamingo/layouts/_default/baseof.html +1 -7
@@ 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>