mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-12-23 22:09:44 +01:00
syntax hilighting
This commit is contained in:
parent
c396f150c9
commit
c2651830a6
2 changed files with 11 additions and 2 deletions
|
@ -4,7 +4,7 @@ canonifyurls = true
|
||||||
# baseurl = "https://github.com/shawnohare/hugo-tufte"
|
# baseurl = "https://github.com/shawnohare/hugo-tufte"
|
||||||
theme = "hugo-tufte"
|
theme = "hugo-tufte"
|
||||||
title = "Hugo-tufte Theme Example Site"
|
title = "Hugo-tufte Theme Example Site"
|
||||||
|
pygmentsUseClasses=true
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
category = "categories"
|
category = "categories"
|
||||||
group = "groups"
|
group = "groups"
|
||||||
|
@ -39,6 +39,12 @@ title = "Hugo-tufte Theme Example Site"
|
||||||
weight = -90
|
weight = -90
|
||||||
identifier = "categories"
|
identifier = "categories"
|
||||||
url = "/categories"
|
url = "/categories"
|
||||||
|
[[menu.nav]]
|
||||||
|
name = "About"
|
||||||
|
pre = "<i class='fa fa-info-circle fa-lg'></i> "
|
||||||
|
weight = -80
|
||||||
|
identifier = "about"
|
||||||
|
url = "/about"
|
||||||
|
|
||||||
# -----------------------------------------------------------------------
|
# -----------------------------------------------------------------------
|
||||||
# Footer menu
|
# Footer menu
|
||||||
|
@ -60,4 +66,5 @@ title = "Hugo-tufte Theme Example Site"
|
||||||
|
|
||||||
[markup]
|
[markup]
|
||||||
[markup.goldmark]
|
[markup.goldmark]
|
||||||
unsafe = false
|
[markup.goldmark.renderer]
|
||||||
|
unsafe = true
|
||||||
|
|
|
@ -28,3 +28,5 @@
|
||||||
<link rel="stylesheet" href="{{ "/css/tufte.css" | absURL }}">
|
<link rel="stylesheet" href="{{ "/css/tufte.css" | absURL }}">
|
||||||
<link rel="stylesheet" href="{{ "/css/hugo-tufte.css" | absURL }}">
|
<link rel="stylesheet" href="{{ "/css/hugo-tufte.css" | absURL }}">
|
||||||
<link rel="stylesheet" href="{{ "/css/hugo-tufte-override.css" | absURL }}">
|
<link rel="stylesheet" href="{{ "/css/hugo-tufte-override.css" | absURL }}">
|
||||||
|
<link rel="stylesheet" href="{{ "/css/syntax.css" | absURL }}">
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue