From c2651830a6b29f64501882fa32fb3d16d0dab495 Mon Sep 17 00:00:00 2001 From: slashformotion Date: Sun, 25 Jul 2021 10:04:41 +0200 Subject: [PATCH] syntax hilighting --- exampleSite/config.toml | 11 +++++++++-- layouts/partials/header.includes.html | 2 ++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index d166384..168f641 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -4,7 +4,7 @@ canonifyurls = true # baseurl = "https://github.com/shawnohare/hugo-tufte" theme = "hugo-tufte" title = "Hugo-tufte Theme Example Site" - +pygmentsUseClasses=true [taxonomies] category = "categories" group = "groups" @@ -39,6 +39,12 @@ title = "Hugo-tufte Theme Example Site" weight = -90 identifier = "categories" url = "/categories" +[[menu.nav]] + name = "About" + pre = " " + weight = -80 + identifier = "about" + url = "/about" # ----------------------------------------------------------------------- # Footer menu @@ -60,4 +66,5 @@ title = "Hugo-tufte Theme Example Site" [markup] [markup.goldmark] - unsafe = false \ No newline at end of file + [markup.goldmark.renderer] + unsafe = true diff --git a/layouts/partials/header.includes.html b/layouts/partials/header.includes.html index ab774f7..ef6c33d 100644 --- a/layouts/partials/header.includes.html +++ b/layouts/partials/header.includes.html @@ -28,3 +28,5 @@ + +