diff --git a/assets/css/print.css b/assets/css/print.css index 8906a2f..4a8b84d 100644 --- a/assets/css/print.css +++ b/assets/css/print.css @@ -7,6 +7,9 @@ } /* Hide screen-only content */ + /* Table of Contents is useless in print layouts without page numbers, + * which I haven't implemented yet */ + #toc, [href="#h1"], /* Skip link */ [role="doc-backlink"], /* can't navigate back on print. */ aside:not([role="note"]), diff --git a/layouts/shortcodes/toc.html b/layouts/shortcodes/toc.html index 808b84f..8fca896 100644 --- a/layouts/shortcodes/toc.html +++ b/layouts/shortcodes/toc.html @@ -1,4 +1,4 @@ -
+
Toggle table of contents

Table of Contents

{{.Page.TableOfContents}}