3 Commits

5 changed files with 26 additions and 21 deletions

View File

@ -641,7 +641,7 @@ h1 svg.icon {
/* Content (single) formatting {{{ */ /* Content (single) formatting {{{ */
.series-box { .series-box {
background-color: var(--background-1); /* remember to update print styling */ background-color: var(--background-1);
color: var(--text-1); color: var(--text-1);
padding: 8px 16px; padding: 8px 16px;
border-radius: 8px; border-radius: 8px;
@ -649,7 +649,7 @@ h1 svg.icon {
} }
.table-of-contents { .table-of-contents {
background-color: var(--background-1); /* remember to update print styling */ background-color: var(--background-1);
color: var(--text-1); color: var(--text-1);
padding: 8px 20px; padding: 8px 20px;
border-radius: 8px; border-radius: 8px;
@ -704,7 +704,7 @@ h1 svg.icon {
/* See also formating */ /* See also formating */
.see-also { .see-also {
background-color: var(--background-1); /* remember to update print styling */ background-color: var(--background-1);
color: var(--text-1); color: var(--text-1);
padding: 8px 12px; padding: 8px 12px;
border-radius: 8px; border-radius: 8px;
@ -770,14 +770,14 @@ h1 svg.icon {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin: 16px 0; margin: 16px 0;
background-color: var(--background-1); /* remember to update print styling */ background-color: var(--background-1);
border-radius: 8px; border-radius: 8px;
} }
.code-block > .code-header { .code-block > .code-header {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; justify-content: space-between;
background-color: var(--background-2); /* remember to update print styling */ background-color: var(--background-2);
padding: 4px 8px; padding: 4px 8px;
border-top-left-radius: 8px; border-top-left-radius: 8px;
border-top-right-radius: 8px; border-top-right-radius: 8px;
@ -857,7 +857,6 @@ aside {
margin-bottom: 0; margin-bottom: 0;
} }
/* remember to update print styling for all the following asides */
aside.note { aside.note {
background-color: var(--background-blue-1); background-color: var(--background-blue-1);
} }
@ -973,19 +972,6 @@ aside.quote {
.table-of-contents.print { .table-of-contents.print {
display: block; display: block;
} }
/* replace background colors with borders {{{ */
.series-box {
}
.table-of-contents {
}
.see-also {
}
.code-block {
}
.code-block > .code-header {
}
/* all the asides */
} }
/* }}} */ /* }}} */

View File

@ -4,15 +4,20 @@ defaultContentLanguage: en
copyright: '&copy; 2021 bbaovanc <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>' copyright: '&copy; 2021 bbaovanc <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>'
sectionPagesMenu: main sectionPagesMenu: main
enableRobotsTXT: true enableRobotsTXT: true
paginate: 5
enableGitInfo: true enableGitInfo: true
pagination:
pagerSize: 5
taxonomies: taxonomies:
_merge: deep _merge: deep
markup: # this just keeps the bobatheme markup styling markup: # this just keeps the bobatheme markup styling
_merge: deep _merge: deep
outputs:
_merge: deep
params: params:
author: author:
name: bbaovanc name: bbaovanc

View File

@ -12,6 +12,11 @@ taxonomies:
author: authors author: authors
series: series series: series
outputs:
page:
- html
- markdown
privacy: privacy:
googleAnalytics: googleAnalytics:
disable: true disable: true

View File

@ -0,0 +1,9 @@
{{ with .File -}}
{{ with (.Path | readFile) -}}
{{ . -}}
{{ else -}}
{{ errorf "file not found: %s" .Path -}}
{{ end -}}
{{ else -}}
{{ errorf "no file available for markdown template?" -}}
{{ end -}}

View File

@ -24,6 +24,6 @@
<meta name="twitter:title" content="{{ .Title | plainify }}"> <meta name="twitter:title" content="{{ .Title | plainify }}">
<meta name="twitter:description" content="{{ (partial "seo-description.html" .) | plainify }}"> <meta name="twitter:description" content="{{ (partial "seo-description.html" .) | plainify }}">
{{ with .Site.Social.twitter }} {{ with .Site.Params.social.twitter }}
<meta name="twitter:site" content="@{{ . }}"> <meta name="twitter:site" content="@{{ . }}">
{{ end }} {{ end }}