Updates articles #12
6 changed files with 64 additions and 23 deletions
|
@ -12,6 +12,9 @@ title = "Thomas Schwery"
|
||||||
author = "Thomas Schwery"
|
author = "Thomas Schwery"
|
||||||
copyright = "Thomas Schwery, No rights reserved (CC0)."
|
copyright = "Thomas Schwery, No rights reserved (CC0)."
|
||||||
|
|
||||||
|
pygmentsCodeFences = true
|
||||||
|
pygmentsCodeFencesGuessSyntax = true
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
logo = "/images/logo.png"
|
logo = "/images/logo.png"
|
||||||
subtitle = "A Glog ... Plog ... Blog ..."
|
subtitle = "A Glog ... Plog ... Blog ..."
|
||||||
|
|
17
themes/hugo-tschwery/assets/css/skeleton.css
vendored
17
themes/hugo-tschwery/assets/css/skeleton.css
vendored
|
@ -303,23 +303,6 @@ ol ul {
|
||||||
li {
|
li {
|
||||||
margin-bottom: 1rem; }
|
margin-bottom: 1rem; }
|
||||||
|
|
||||||
|
|
||||||
/* Code
|
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
|
||||||
code {
|
|
||||||
padding: .2rem .5rem;
|
|
||||||
margin: 0 .2rem;
|
|
||||||
font-size: 90%;
|
|
||||||
white-space: nowrap;
|
|
||||||
background: #F1F1F1;
|
|
||||||
border: 1px solid #E1E1E1;
|
|
||||||
border-radius: 4px; }
|
|
||||||
pre > code {
|
|
||||||
display: block;
|
|
||||||
padding: 1rem 1.5rem;
|
|
||||||
white-space: pre; }
|
|
||||||
|
|
||||||
|
|
||||||
/* Tables
|
/* Tables
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
–––––––––––––––––––––––––––––––––––––––––––––––––– */
|
||||||
th,
|
th,
|
||||||
|
|
59
themes/hugo-tschwery/assets/css/syntax.css
Normal file
59
themes/hugo-tschwery/assets/css/syntax.css
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
/* Background */ .chroma { color: #93a1a1; background-color: #002b36 }
|
||||||
|
/* Other */ .chroma .x { color: #cb4b16 }
|
||||||
|
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
|
||||||
|
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; overflow: auto; display: block; }
|
||||||
|
/* LineHighlight */ .chroma .hl { display: block; width: 100%;background-color: #ffffcc }
|
||||||
|
/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em; }
|
||||||
|
/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em; }
|
||||||
|
/* Keyword */ .chroma .k { color: #719e07 }
|
||||||
|
/* KeywordConstant */ .chroma .kc { color: #cb4b16 }
|
||||||
|
/* KeywordDeclaration */ .chroma .kd { color: #268bd2 }
|
||||||
|
/* KeywordNamespace */ .chroma .kn { color: #719e07 }
|
||||||
|
/* KeywordPseudo */ .chroma .kp { color: #719e07 }
|
||||||
|
/* KeywordReserved */ .chroma .kr { color: #268bd2 }
|
||||||
|
/* KeywordType */ .chroma .kt { color: #dc322f }
|
||||||
|
/* NameBuiltin */ .chroma .nb { color: #b58900 }
|
||||||
|
/* NameBuiltinPseudo */ .chroma .bp { color: #268bd2 }
|
||||||
|
/* NameClass */ .chroma .nc { color: #268bd2 }
|
||||||
|
/* NameConstant */ .chroma .no { color: #cb4b16 }
|
||||||
|
/* NameDecorator */ .chroma .nd { color: #268bd2 }
|
||||||
|
/* NameEntity */ .chroma .ni { color: #cb4b16 }
|
||||||
|
/* NameException */ .chroma .ne { color: #cb4b16 }
|
||||||
|
/* NameFunction */ .chroma .nf { color: #268bd2 }
|
||||||
|
/* NameTag */ .chroma .nt { color: #268bd2 }
|
||||||
|
/* NameVariable */ .chroma .nv { color: #268bd2 }
|
||||||
|
/* LiteralString */ .chroma .s { color: #2aa198 }
|
||||||
|
/* LiteralStringAffix */ .chroma .sa { color: #2aa198 }
|
||||||
|
/* LiteralStringBacktick */ .chroma .sb { color: #586e75 }
|
||||||
|
/* LiteralStringChar */ .chroma .sc { color: #2aa198 }
|
||||||
|
/* LiteralStringDelimiter */ .chroma .dl { color: #2aa198 }
|
||||||
|
/* LiteralStringDouble */ .chroma .s2 { color: #2aa198 }
|
||||||
|
/* LiteralStringEscape */ .chroma .se { color: #cb4b16 }
|
||||||
|
/* LiteralStringInterpol */ .chroma .si { color: #2aa198 }
|
||||||
|
/* LiteralStringOther */ .chroma .sx { color: #2aa198 }
|
||||||
|
/* LiteralStringRegex */ .chroma .sr { color: #dc322f }
|
||||||
|
/* LiteralStringSingle */ .chroma .s1 { color: #2aa198 }
|
||||||
|
/* LiteralStringSymbol */ .chroma .ss { color: #2aa198 }
|
||||||
|
/* LiteralNumber */ .chroma .m { color: #2aa198 }
|
||||||
|
/* LiteralNumberBin */ .chroma .mb { color: #2aa198 }
|
||||||
|
/* LiteralNumberFloat */ .chroma .mf { color: #2aa198 }
|
||||||
|
/* LiteralNumberHex */ .chroma .mh { color: #2aa198 }
|
||||||
|
/* LiteralNumberInteger */ .chroma .mi { color: #2aa198 }
|
||||||
|
/* LiteralNumberIntegerLong */ .chroma .il { color: #2aa198 }
|
||||||
|
/* LiteralNumberOct */ .chroma .mo { color: #2aa198 }
|
||||||
|
/* Operator */ .chroma .o { color: #719e07 }
|
||||||
|
/* OperatorWord */ .chroma .ow { color: #719e07 }
|
||||||
|
/* Comment */ .chroma .c { color: #586e75 }
|
||||||
|
/* CommentHashbang */ .chroma .ch { color: #586e75 }
|
||||||
|
/* CommentMultiline */ .chroma .cm { color: #586e75 }
|
||||||
|
/* CommentSingle */ .chroma .c1 { color: #586e75 }
|
||||||
|
/* CommentSpecial */ .chroma .cs { color: #719e07 }
|
||||||
|
/* CommentPreproc */ .chroma .cp { color: #719e07 }
|
||||||
|
/* CommentPreprocFile */ .chroma .cpf { color: #719e07 }
|
||||||
|
/* GenericDeleted */ .chroma .gd { color: #dc322f }
|
||||||
|
/* GenericEmph */ .chroma .ge { font-style: italic }
|
||||||
|
/* GenericError */ .chroma .gr { color: #dc322f; font-weight: bold }
|
||||||
|
/* GenericHeading */ .chroma .gh { color: #cb4b16 }
|
||||||
|
/* GenericInserted */ .chroma .gi { color: #719e07 }
|
||||||
|
/* GenericStrong */ .chroma .gs { font-weight: bold }
|
||||||
|
/* GenericSubheading */ .chroma .gu { color: #268bd2 }
|
|
@ -1 +0,0 @@
|
||||||
hljs.initHighlightingOnLoad();
|
|
|
@ -13,9 +13,5 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
|
|
||||||
{{ $highlightInitJs := resources.Get "js/init.js" | resources.Minify | resources.Fingerprint }}
|
|
||||||
<script src="{{ $highlightInitJs.Permalink }}" integrity="{{ $highlightInitJs.Data.Integrity }}"></script>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -6,14 +6,15 @@
|
||||||
{{ $skeletonCss := resources.Get "css/skeleton.css" | resources.Minify | resources.Fingerprint }}
|
{{ $skeletonCss := resources.Get "css/skeleton.css" | resources.Minify | resources.Fingerprint }}
|
||||||
{{ $customCss := resources.Get "css/custom.css" | resources.Minify | resources.Fingerprint }}
|
{{ $customCss := resources.Get "css/custom.css" | resources.Minify | resources.Fingerprint }}
|
||||||
{{ $normalizeCss := resources.Get "css/normalize.css" | resources.Minify | resources.Fingerprint }}
|
{{ $normalizeCss := resources.Get "css/normalize.css" | resources.Minify | resources.Fingerprint }}
|
||||||
|
{{ $syntaxCss := resources.Get "css/syntax.css" | resources.Minify | resources.Fingerprint }}
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link href="//fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet" type="text/css">
|
<link href="//fonts.googleapis.com/css?family=Roboto:400,700" rel="stylesheet" type="text/css">
|
||||||
|
|
||||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/github.min.css">
|
|
||||||
<link rel="stylesheet" href="{{ $normalizeCss.Permalink }}">
|
<link rel="stylesheet" href="{{ $normalizeCss.Permalink }}">
|
||||||
<link rel="stylesheet" href="{{ $skeletonCss.Permalink }}">
|
<link rel="stylesheet" href="{{ $skeletonCss.Permalink }}">
|
||||||
<link rel="stylesheet" href="{{ $customCss.Permalink }}">
|
<link rel="stylesheet" href="{{ $customCss.Permalink }}">
|
||||||
|
<link rel="stylesheet" href="{{ $syntaxCss.Permalink }}">
|
||||||
|
|
||||||
<link rel="alternate" href="/index.xml" type="application/rss+xml" title="{{ .Site.Title }}">
|
<link rel="alternate" href="/index.xml" type="application/rss+xml" title="{{ .Site.Title }}">
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue