From a6c6ae1e1c1d4e99472892ac69e790dd97b373bc Mon Sep 17 00:00:00 2001 From: Staticman Date: Fri, 21 Apr 2017 23:16:35 +0100 Subject: [PATCH] New comment. (#968) --- .../layout-sidebar-nav-list/comment-1492812977693.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 docs/_data/comments/layout-sidebar-nav-list/comment-1492812977693.yml diff --git a/docs/_data/comments/layout-sidebar-nav-list/comment-1492812977693.yml b/docs/_data/comments/layout-sidebar-nav-list/comment-1492812977693.yml new file mode 100644 index 000000000000..237f1fb5166a --- /dev/null +++ b/docs/_data/comments/layout-sidebar-nav-list/comment-1492812977693.yml @@ -0,0 +1,7 @@ +_id: 23c51da0-26e0-11e7-ba90-7b0064600583 +message: "@Josh Kramdown auto creates id's on all of your page headlines in a post which you could use for this purpose. If you look at the source on this page you'll see what I mean. For example the first heading named **Header one**:\r\n\r\n```html\r\n

Header one

\r\n```\r\n\r\nIf you added `url: \"#header-one\"` to your sidebar nav YAML it would jump to that anchor because of what is set on the `id` attribute.\r\n\r\nYou can also insert your own anchors with `` and target the same way... `#whatever-you-want`.\r\n\r\nThere's also several JavaScript solutions out there to things like this too." +name: Michael Rose +email: 1ce71bc10b86565464b612093d89707e +url: 'https://mademistakes.com' +hidden: '' +date: '2017-04-21T22:16:17.691Z'