From 8ad8276276beb4fcf66dd3d628d1b72d9c0d7460 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 11 Oct 2016 16:54:24 +0200 Subject: [PATCH] Show GitHub link for nested elements in default theme --- default_theme/section._ | 4 +++- test/fixture/html/nested.output.files | 12 ++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/default_theme/section._ b/default_theme/section._ index e4988869a..5a5e16e2b 100644 --- a/default_theme/section._ +++ b/default_theme/section._ @@ -1,10 +1,12 @@
- <% if (typeof nested === 'undefined') { %> + <% if (typeof nested === 'undefined' || (section.context && section.context.github)) { %>