remove cloudflare cookies, fix warnings hugo 0.6.x
This commit is contained in:
parent
8ed77c4c3c
commit
d0b69d04bf
22
config.toml
22
config.toml
|
@ -2,8 +2,6 @@ languageCode = "en-us"
|
||||||
title = "Brain Baking"
|
title = "Brain Baking"
|
||||||
baseurl = "https://brainbaking.com/"
|
baseurl = "https://brainbaking.com/"
|
||||||
theme = "minimal"
|
theme = "minimal"
|
||||||
pygmentsUseClasses = true
|
|
||||||
pygmentCodeFences = true
|
|
||||||
googleAnalytics = "UA-45748221-1"
|
googleAnalytics = "UA-45748221-1"
|
||||||
publishDir = "docs"
|
publishDir = "docs"
|
||||||
enableEmoji = true
|
enableEmoji = true
|
||||||
|
@ -15,6 +13,9 @@ enableGitInfo = true
|
||||||
tag = "tags"
|
tag = "tags"
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
# disabled to get rid of cloudflare cookies
|
||||||
|
MathJax = false
|
||||||
|
|
||||||
description = "Freshly baked thought"
|
description = "Freshly baked thought"
|
||||||
# see single.html, DisqusShortname also needed
|
# see single.html, DisqusShortname also needed
|
||||||
disableComments = true
|
disableComments = true
|
||||||
|
@ -22,9 +23,6 @@ enableGitInfo = true
|
||||||
showBorder = true
|
showBorder = true
|
||||||
twitter = "woutergroenev"
|
twitter = "woutergroenev"
|
||||||
backgroundColor = "white"
|
backgroundColor = "white"
|
||||||
highlight = true
|
|
||||||
highlightStyle = "paraiso-dark"
|
|
||||||
highlightLanguages = ["cs", "cpp", "scheme", "python", "java", "scala", "javascript", "llvm"]
|
|
||||||
font = "Source Serif Pro"
|
font = "Source Serif Pro"
|
||||||
copyright = "No <i class='fa fa-copyright'></i> reserved - sharing is caring. <i class='fa fa-github'></i> <a href='https://github.com/wgroeneveld/brainbaking/'>Hack away</a>! <i class='fa fa-lightbulb-o'></i> <a href='/'>Brain Baking</a>"
|
copyright = "No <i class='fa fa-copyright'></i> reserved - sharing is caring. <i class='fa fa-github'></i> <a href='https://github.com/wgroeneveld/brainbaking/'>Hack away</a>! <i class='fa fa-lightbulb-o'></i> <a href='/'>Brain Baking</a>"
|
||||||
|
|
||||||
|
@ -32,8 +30,20 @@ enableGitInfo = true
|
||||||
name = "Wouter Groeneveld"
|
name = "Wouter Groeneveld"
|
||||||
email = "wouter.groeneveld@gmail.com"
|
email = "wouter.groeneveld@gmail.com"
|
||||||
|
|
||||||
|
|
||||||
[markup]
|
[markup]
|
||||||
defaultMarkdownHandler = "blackfriday"
|
defaultMarkdownHandler = "blackfriday"
|
||||||
|
|
||||||
|
[markup.highlight]
|
||||||
|
codeFences = true
|
||||||
|
guessSyntax = false
|
||||||
|
hl_Lines = ""
|
||||||
|
lineNoStart = 1
|
||||||
|
lineNos = false
|
||||||
|
lineNumbersInTable = true
|
||||||
|
noClasses = true
|
||||||
|
style = "arduino"
|
||||||
|
tabWidth = 4
|
||||||
|
|
||||||
[[menu.main]]
|
[[menu.main]]
|
||||||
name = "Tech Blog"
|
name = "Tech Blog"
|
||||||
|
|
|
@ -21,9 +21,6 @@
|
||||||
<!-- google fonts -->
|
<!-- google fonts -->
|
||||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family={{ .Site.Params.font }}">
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family={{ .Site.Params.font }}">
|
||||||
|
|
||||||
<!-- highlight.js -->
|
|
||||||
{{ if .Site.Params.highlight | default false }} <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/{{ .Site.Params.highlightStyle | default "default" }}.min.css"> {{ end }}
|
|
||||||
|
|
||||||
<!-- bootstrap -->
|
<!-- bootstrap -->
|
||||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
|
||||||
|
|
||||||
|
|
|
@ -6,22 +6,14 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
{{ if .Site.Params.favicon }}
|
{{ if .Site.Params.favicon }}
|
||||||
<link rel="icon" href="{{ .Site.Params.favicon | absURL }}">
|
<link rel="icon" href="{{ .Site.Params.favicon | absURL }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ partial "css" . }} {{ partial "js" . }} {{ .Hugo.Generator }}
|
{{ partial "css" . }} {{ partial "js" . }} {{ hugo.Generator }}
|
||||||
{{ if .RSSLink }}
|
{{ with .OutputFormats.Get "RSS" }}
|
||||||
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="Brain Baking" />
|
||||||
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
|
<link href="{{ .RelPermalink }}" rel="feed" type="application/rss+xml" title="Brain Baking" />
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
{{ if .Site.Params.MathJax | default true }}
|
|
||||||
<!-- adds MathJax support -->
|
|
||||||
<script type="text/javascript" async
|
|
||||||
src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
|
|
||||||
</script>
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
{{ partial "body-open" . }}
|
{{ partial "body-open" . }}
|
||||||
<nav class="navbar navbar-default navbar-fixed-top">
|
<nav class="navbar navbar-default navbar-fixed-top">
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
<link href="{{"mermaid/mermaid.css" | relURL}}" type="text/css" rel="stylesheet"/>
|
|
||||||
<script defer src="{{"mermaid/mermaid.min.js" | relURL}}">
|
<script defer src="{{"mermaid/mermaid.min.js" | relURL}}">
|
||||||
mermaid.initialize({
|
mermaid.initialize({
|
||||||
startOnLoad: true,
|
startOnLoad: true,
|
||||||
|
|
Loading…
Reference in New Issue