Open ajlam opened 7 years ago
Hello @ajlam,
I've found this to solve the issue:
{% if page.path %}
<a class="sql-footer-link" href="https://github.com/Microsoft/sqldev/blob/master/{{page.path}}">Edit</a>
{% endif %}
I'm using /blob/master in the link instead of /edit/master because I like to see files before editing & if I'm not logging in I won't be bothered with GitHub's login page!
You're using include
statements so we won't be directed always to the intended files (and we'll have to search for these!)
I'm thinking about adding a button to edit the whole page and another button inside these include
statements (which i didn't test yet) to edit these sections (which is kinda weird)
Consider adding a button/link for each tutorial page & step to the source markdown file.