Update site/src/routes/tutorial/[slug]/index.svelte

Co-Authored-By: Rich-Harris <richard.a.harris@gmail.com>
pull/2132/head
Conduitry 7 years ago committed by GitHub
parent 3b2915187b
commit 0b45895b3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -52,7 +52,7 @@
// TODO: this will need to be changed to the master branch, and probably should be dynamic instead of included // TODO: this will need to be changed to the master branch, and probably should be dynamic instead of included
// here statically // here statically
const tutorial_repo_link = 'https://github.com/sveltejs/svelte/tree/restructure-docs/site/content/tutorial'; const tutorial_repo_link = 'https://github.com/sveltejs/svelte/tree/master/site/content/tutorial';
$: selected = lookup.get(slug); $: selected = lookup.get(slug);
$: improve_link = `${tutorial_repo_link}/${selected.chapter.section_dir}/${selected.chapter.chapter_dir}`; $: improve_link = `${tutorial_repo_link}/${selected.chapter.section_dir}/${selected.chapter.chapter_dir}`;

Loading…
Cancel
Save