From 08a74d270885d59ddbafec039bbbb85570553692 Mon Sep 17 00:00:00 2001 From: Fabien CASTERS Date: Thu, 18 Apr 2019 14:59:43 +0200 Subject: Fix footnote links issue --- exampleSite/content/posts/test-1.md | 4 ++++ layouts/_default/baseof.html | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/exampleSite/content/posts/test-1.md b/exampleSite/content/posts/test-1.md index 076b555..2b2d622 100644 --- a/exampleSite/content/posts/test-1.md +++ b/exampleSite/content/posts/test-1.md @@ -5,3 +5,7 @@ date = "1012-01-01" +++ Test 1 +I am referencing a footnote[^1] + + +[^1]: I am the footnote diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 33cfce8..257e796 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -7,7 +7,6 @@ - {{ $style := resources.Get "css/main.scss" | resources.ExecuteAsTemplate "css/main.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint -}} @@ -18,7 +17,7 @@
- +

{{ .Site.Title }}

{{ .Site.Params.description | default "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vehicula turpis sit amet elit pretium." }}

-- cgit v1.2.3