Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,23 @@ disqusShortname: klinki
googleAnalytics: UA-89466580-1
comments: true

markup:
defaultMarkdownHandler: goldmark
highlight:
anchorLineNos: false
codeFences: true
guessSyntax: false
hl_Lines: ""
hl_inline: false
lineAnchors: ""
lineNoStart: 1
lineNos: false
lineNumbersInTable: false
noClasses: true
noHl: false
style: monokai
tabWidth: 4

languages:
cs:
contentDir: content/cs
Expand Down Expand Up @@ -85,8 +102,8 @@ params:
twitter: klinkicz
linkedin: davidklingenberg
github: klinki


customCss:
- css/syntax.css
# useFilenameDateAsFallback: true

taxonomies:
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
version: "2"
services:
hugo:
image: klakegg/hugo:0.55.5
command: server
image: klakegg/hugo:0.101.0
command: server -DF --disableFastRender
volumes:
- ./:/src
ports:
- 1313:1313
build:
image: klakegg/hugo:0.55.6
image: klakegg/hugo:0.101.0
volumes:
- .:/src
- ./public:/target
6 changes: 3 additions & 3 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[context.production.environment]
HUGO_VERSION = "0.55.6"
HUGO_VERSION = "0.101.0"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"

[context.deploy-preview.environment]
HUGO_VERSION = "0.55.6"
HUGO_VERSION = "0.101.0"

[context.branch-deploy.environment]
HUGO_VERSION = "0.55.6"
HUGO_VERSION = "0.101.0"
85 changes: 85 additions & 0 deletions static/css/syntax.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
/* Background */ .bg { color: #f8f8f2; background-color: #272822; }
/* PreWrapper */ .chroma { color: #f8f8f2; background-color: #272822; }
/* Other */ .chroma .x { }
/* Error */ .chroma .err { color: #960050; background-color: #1e0010 }
/* CodeLine */ .chroma .cl { }
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
/* LineHighlight */ .chroma .hl { background-color: #ffffcc }
/* LineNumbersTable */ .chroma .lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
/* LineNumbers */ .chroma .ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #7f7f7f }
/* Line */ .chroma .line { display: flex; }
/* Keyword */ .chroma .k { color: #66d9ef }
/* KeywordConstant */ .chroma .kc { color: #66d9ef }
/* KeywordDeclaration */ .chroma .kd { color: #66d9ef }
/* KeywordNamespace */ .chroma .kn { color: #f92672 }
/* KeywordPseudo */ .chroma .kp { color: #66d9ef }
/* KeywordReserved */ .chroma .kr { color: #66d9ef }
/* KeywordType */ .chroma .kt { color: #66d9ef }
/* Name */ .chroma .n { }
/* NameAttribute */ .chroma .na { color: #a6e22e }
/* NameBuiltin */ .chroma .nb { }
/* NameBuiltinPseudo */ .chroma .bp { }
/* NameClass */ .chroma .nc { color: #a6e22e }
/* NameConstant */ .chroma .no { color: #66d9ef }
/* NameDecorator */ .chroma .nd { color: #a6e22e }
/* NameEntity */ .chroma .ni { }
/* NameException */ .chroma .ne { color: #a6e22e }
/* NameFunction */ .chroma .nf { color: #a6e22e }
/* NameFunctionMagic */ .chroma .fm { }
/* NameLabel */ .chroma .nl { }
/* NameNamespace */ .chroma .nn { }
/* NameOther */ .chroma .nx { color: #a6e22e }
/* NameProperty */ .chroma .py { }
/* NameTag */ .chroma .nt { color: #f92672 }
/* NameVariable */ .chroma .nv { }
/* NameVariableClass */ .chroma .vc { }
/* NameVariableGlobal */ .chroma .vg { }
/* NameVariableInstance */ .chroma .vi { }
/* NameVariableMagic */ .chroma .vm { }
/* Literal */ .chroma .l { color: #ae81ff }
/* LiteralDate */ .chroma .ld { color: #e6db74 }
/* LiteralString */ .chroma .s { color: #e6db74 }
/* LiteralStringAffix */ .chroma .sa { color: #e6db74 }
/* LiteralStringBacktick */ .chroma .sb { color: #e6db74 }
/* LiteralStringChar */ .chroma .sc { color: #e6db74 }
/* LiteralStringDelimiter */ .chroma .dl { color: #e6db74 }
/* LiteralStringDoc */ .chroma .sd { color: #e6db74 }
/* LiteralStringDouble */ .chroma .s2 { color: #e6db74 }
/* LiteralStringEscape */ .chroma .se { color: #ae81ff }
/* LiteralStringHeredoc */ .chroma .sh { color: #e6db74 }
/* LiteralStringInterpol */ .chroma .si { color: #e6db74 }
/* LiteralStringOther */ .chroma .sx { color: #e6db74 }
/* LiteralStringRegex */ .chroma .sr { color: #e6db74 }
/* LiteralStringSingle */ .chroma .s1 { color: #e6db74 }
/* LiteralStringSymbol */ .chroma .ss { color: #e6db74 }
/* LiteralNumber */ .chroma .m { color: #ae81ff }
/* LiteralNumberBin */ .chroma .mb { color: #ae81ff }
/* LiteralNumberFloat */ .chroma .mf { color: #ae81ff }
/* LiteralNumberHex */ .chroma .mh { color: #ae81ff }
/* LiteralNumberInteger */ .chroma .mi { color: #ae81ff }
/* LiteralNumberIntegerLong */ .chroma .il { color: #ae81ff }
/* LiteralNumberOct */ .chroma .mo { color: #ae81ff }
/* Operator */ .chroma .o { color: #f92672 }
/* OperatorWord */ .chroma .ow { color: #f92672 }
/* Punctuation */ .chroma .p { }
/* Comment */ .chroma .c { color: #75715e }
/* CommentHashbang */ .chroma .ch { color: #75715e }
/* CommentMultiline */ .chroma .cm { color: #75715e }
/* CommentSingle */ .chroma .c1 { color: #75715e }
/* CommentSpecial */ .chroma .cs { color: #75715e }
/* CommentPreproc */ .chroma .cp { color: #75715e }
/* CommentPreprocFile */ .chroma .cpf { color: #75715e }
/* Generic */ .chroma .g { }
/* GenericDeleted */ .chroma .gd { color: #f92672 }
/* GenericEmph */ .chroma .ge { font-style: italic }
/* GenericError */ .chroma .gr { }
/* GenericHeading */ .chroma .gh { }
/* GenericInserted */ .chroma .gi { color: #a6e22e }
/* GenericOutput */ .chroma .go { }
/* GenericPrompt */ .chroma .gp { }
/* GenericStrong */ .chroma .gs { font-weight: bold }
/* GenericSubheading */ .chroma .gu { color: #75715e }
/* GenericTraceback */ .chroma .gt { }
/* GenericUnderline */ .chroma .gl { }
/* TextWhitespace */ .chroma .w { }
2 changes: 1 addition & 1 deletion themes/mainroad
Submodule mainroad updated 67 files
+4 −4 .editorconfig
+66 −0 .github/workflows/ci-test.yml
+0 −12 .travis.yml
+106 −19 CONTRIBUTING.md
+98 −53 README.md
+108 −41 assets/css/style.css
+5 −2 exampleSite/config.toml
+27 −18 exampleSite/content/about.md
+4 −0 exampleSite/content/docs/_index.md
+269 −0 exampleSite/content/docs/customization.md
+88 −0 exampleSite/content/docs/faq.md
+86 −0 exampleSite/content/docs/getting-started.md
+4 −0 exampleSite/content/post/basic-elements.md
+0 −1,143 exampleSite/content/post/creating-a-new-theme.md
+0 −1 exampleSite/content/post/getting-started-with-hugo.md
+0 −1 exampleSite/content/post/hugo-template-primer.md
+0 −155 exampleSite/content/post/migrate-from-jekyll.md
+94 −0 i18n/bg.yaml
+94 −0 i18n/cs.yaml
+30 −26 i18n/de.yaml
+30 −26 i18n/en.yaml
+14 −12 i18n/es.yaml
+24 −21 i18n/fr.yaml
+95 −0 i18n/hu.yaml
+93 −0 i18n/id.yaml
+94 −0 i18n/it.yaml
+95 −0 i18n/ja.yaml
+94 −0 i18n/kk.yaml
+94 −0 i18n/mk.yaml
+93 −0 i18n/nl.yaml
+93 −0 i18n/pt-br.yaml
+93 −0 i18n/pt.yaml
+31 −26 i18n/ru.yaml
+93 −0 i18n/vi.yaml
+28 −26 i18n/zh-cn.yaml
+29 −26 i18n/zh-tw.yaml
+1 −1 layouts/404.html
+35 −12 layouts/_default/baseof.html
+7 −7 layouts/_default/single.html
+3 −9 layouts/_default/summary.html
+5 −3 layouts/partials/authorbox.html
+1 −1 layouts/partials/footer.html
+3 −2 layouts/partials/footer_links.html
+2 −7 layouts/partials/header.html
+24 −0 layouts/partials/logo.html
+1 −1 layouts/partials/mathjax.html
+8 −4 layouts/partials/menu.html
+22 −0 layouts/partials/pager.html
+5 −3 layouts/partials/pagination.html
+6 −0 layouts/partials/post_meta/author.html
+13 −3 layouts/partials/post_meta/categories.html
+9 −5 layouts/partials/post_meta/date.html
+6 −1 layouts/partials/post_meta/translations.html
+0 −16 layouts/partials/post_nav.html
+6 −2 layouts/partials/post_tags.html
+19 −0 layouts/partials/post_thumbnail.html
+4 −2 layouts/partials/post_toc.html
+1 −0 layouts/partials/svg/author.svg
+11 −5 layouts/partials/widgets/categories.html
+9 −0 layouts/partials/widgets/ddg-search.html
+6 −5 layouts/partials/widgets/languages.html
+1 −1 layouts/partials/widgets/recent.html
+11 −0 layouts/partials/widgets/social.html
+8 −5 layouts/partials/widgets/taglist.html
+2,077 −5,561 package-lock.json
+13 −15 package.json
+3 −2 theme.toml