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"
|
||||
baseurl = "https://brainbaking.com/"
|
||||
theme = "minimal"
|
||||
pygmentsUseClasses = true
|
||||
pygmentCodeFences = true
|
||||
googleAnalytics = "UA-45748221-1"
|
||||
publishDir = "docs"
|
||||
enableEmoji = true
|
||||
|
@ -15,6 +13,9 @@ enableGitInfo = true
|
|||
tag = "tags"
|
||||
|
||||
[params]
|
||||
# disabled to get rid of cloudflare cookies
|
||||
MathJax = false
|
||||
|
||||
description = "Freshly baked thought"
|
||||
# see single.html, DisqusShortname also needed
|
||||
disableComments = true
|
||||
|
@ -22,9 +23,6 @@ enableGitInfo = true
|
|||
showBorder = true
|
||||
twitter = "woutergroenev"
|
||||
backgroundColor = "white"
|
||||
highlight = true
|
||||
highlightStyle = "paraiso-dark"
|
||||
highlightLanguages = ["cs", "cpp", "scheme", "python", "java", "scala", "javascript", "llvm"]
|
||||
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>"
|
||||
|
||||
|
@ -32,8 +30,20 @@ enableGitInfo = true
|
|||
name = "Wouter Groeneveld"
|
||||
email = "wouter.groeneveld@gmail.com"
|
||||
|
||||
|
||||
[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]]
|
||||
name = "Tech Blog"
|
||||
|
|
|
@ -21,9 +21,6 @@
|
|||
<!-- google fonts -->
|
||||
<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 -->
|
||||
<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">
|
||||
<title>{{ .Title }}</title>
|
||||
{{ if .Site.Params.favicon }}
|
||||
<link rel="icon" href="{{ .Site.Params.favicon | absURL }}">
|
||||
<link rel="icon" href="{{ .Site.Params.favicon | absURL }}">
|
||||
{{ end }}
|
||||
{{ partial "css" . }} {{ partial "js" . }} {{ .Hugo.Generator }}
|
||||
{{ if .RSSLink }}
|
||||
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
{{ partial "css" . }} {{ partial "js" . }} {{ hugo.Generator }}
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="Brain Baking" />
|
||||
<link href="{{ .RelPermalink }}" rel="feed" type="application/rss+xml" title="Brain Baking" />
|
||||
{{ end }}
|
||||
</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>
|
||||
{{ partial "body-open" . }}
|
||||
<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}}">
|
||||
mermaid.initialize({
|
||||
startOnLoad: true,
|
||||
|
|
Loading…
Reference in New Issue