mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -06:00
Use with in head.html and add code block section to CSS
This commit is contained in:
parent
ddbcaa6d56
commit
9ff5314bc0
@ -118,6 +118,13 @@ hr {
|
||||
border-color: #444;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Code blocks */
|
||||
pre {
|
||||
width: 100%;
|
||||
overflow: auto;
|
||||
@ -130,10 +137,6 @@ pre {
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Icons */
|
||||
|
@ -3,8 +3,9 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{{ hugo.Generator }}
|
||||
|
||||
{{ $bobastyle := resources.Get "css/bobastyle.css" | fingerprint "sha512" }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ $bobastyle.Permalink }}" integrity="{{ $bobastyle.Data.Integrity }}">
|
||||
{{ with resources.Get "css/bobastyle.css" | fingerprint "sha512" }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}">
|
||||
{{ end }}
|
||||
|
||||
{{ with .Site.Params.faviconICO }}
|
||||
<link rel="icon" type="image/x-icon" href="{{.}}" />
|
||||
|
Loading…
Reference in New Issue
Block a user