add table of contents
This commit is contained in:
parent
1b974ce9d3
commit
b517159c0e
13 changed files with 161 additions and 23 deletions
|
@ -1,3 +1,10 @@
|
|||
{{ partial "header/styles-highlight.html" . }}
|
||||
<link rel="stylesheet" href="{{ "css/hyde-hyde.css" | relURL }}">
|
||||
<link rel="stylesheet" href="{{ "css/print.css" | relURL }}" media="print">
|
||||
{{ with .Site.Params.toc }}
|
||||
{{ if eq . "hugo" }}
|
||||
<link rel="stylesheet" href="{{ "css/hugo-toc.css" | relURL }}">
|
||||
{{ else if eq . "tocbot"}}
|
||||
<link rel="stylesheet" href="{{ "css/tocbot.css" | relURL }}">
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue