From c626ecdc562f99fbaf2130f7136d7f9b0ea7b58a Mon Sep 17 00:00:00 2001 From: clsr Date: Fri, 25 Aug 2017 16:02:01 +0200 Subject: Implement draft/cnm-selector hash fragment anchors --- templates/page.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'templates/page.html') diff --git a/templates/page.html b/templates/page.html index 0f89e2d..4a356cb 100644 --- a/templates/page.html +++ b/templates/page.html @@ -60,7 +60,11 @@ {{- block "toc" . -}} {{- inc .Title -}}
  • - {{.Title}} + {{- if $l := lanchor -}} + {{.Title}} + {{- else -}} + {{.Title}} + {{- end -}} {{- with .Children -}} -- cgit