File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11HideFromSearchIndex: true
22Excluded: => !Context.GetBool(WebKeys.GenerateSearchIndex)
33ShowInNavigation: false
4+ EditLink:
45---
56<form >
67 <div class =" form-group" >
Original file line number Diff line number Diff line change 1010 : null );
1111 if (headings ? .Count > 0 )
1212 {
13- < div class = " @(editLink != null ? " border - bottom " : string.Empty) mb-3 sidebar-root" >
13+ < div class = " @(!string.IsNullOrWhiteSpace(editLink) ? " border - bottom " : string.Empty) mb-3 sidebar-root" >
1414 < div class = " sidebar-nav-item sidebar-header" > On This Page < / div >
1515 < div class = " sidebar-nav-children" >
1616 @foreach (IDocument heading in headings )
3434 < / div >
3535 < / div >
3636 }
37- if (editLink != null )
37+ if (! string . IsNullOrWhiteSpace ( editLink ) )
3838 {
3939 < p class = " small font-weight-bold" >< a href = " @editLink" data - no - validate >< i class = " fad fa-pencil" >< / i > Edit This Page < / a >< / p >
4040 }
You can’t perform that action at this time.
0 commit comments