Reactivate anchor links to sections
Project: http://git-wip-us.apache.org/repos/asf/sling-site/repo Commit: http://git-wip-us.apache.org/repos/asf/sling-site/commit/05478cff Tree: http://git-wip-us.apache.org/repos/asf/sling-site/tree/05478cff Diff: http://git-wip-us.apache.org/repos/asf/sling-site/diff/05478cff Branch: refs/heads/master Commit: 05478cffafafff2fb2f39a83b66cd636c25014ce Parents: 337229c Author: Bertrand Delacretaz <[email protected]> Authored: Tue Jul 11 14:28:41 2017 +0200 Committer: Bertrand Delacretaz <[email protected]> Committed: Tue Jul 11 14:28:41 2017 +0200 ---------------------------------------------------------------------- src/main/jbake/assets/res/css/site.css | 5 +++++ src/main/jbake/jbake.properties | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/sling-site/blob/05478cff/src/main/jbake/assets/res/css/site.css ---------------------------------------------------------------------- diff --git a/src/main/jbake/assets/res/css/site.css b/src/main/jbake/assets/res/css/site.css index 3960df4..71d3f69 100644 --- a/src/main/jbake/assets/res/css/site.css +++ b/src/main/jbake/assets/res/css/site.css @@ -29,6 +29,11 @@ h2 { padding-top: 0.45em; } +h1 a, h1 a:visited, h2 a, h2 a:visited, h3 a, h3 a:visited, h4 a, h4 a:visited { + color:black; + text-decoration:none; +} + h3 { font-size: 150% } http://git-wip-us.apache.org/repos/asf/sling-site/blob/05478cff/src/main/jbake/jbake.properties ---------------------------------------------------------------------- diff --git a/src/main/jbake/jbake.properties b/src/main/jbake/jbake.properties index 465018b..3f7121e 100644 --- a/src/main/jbake/jbake.properties +++ b/src/main/jbake/jbake.properties @@ -16,5 +16,5 @@ template.feed.file=feed.tpl template.project.file=project.tpl render.index=false index.paginate=false -markdown.extensions=WIKILINKS,TABLES +markdown.extensions=WIKILINKS,TABLES,ANCHORLINKS template.downloads.file=downloads.tpl
