|
63 | 63 | <p>{{.FormatWarning}}</p>
|
64 | 64 | </div>
|
65 | 65 | {{end}}
|
66 |
| - <div class="ui gt-mt-0 {{if or .sidebarPresent .sidebarTocContent}}grid equal width{{end}}"> |
67 |
| - <div class="ui {{if or .sidebarPresent .sidebarTocContent}}eleven wide column{{else}}gt-ml-0{{end}} segment markup wiki-content-main"> |
| 66 | + |
| 67 | + <div class="wiki-content-parts"> |
| 68 | + {{if .sidebarTocContent}} |
| 69 | + <div class="markup wiki-content-sidebar wiki-content-toc"> |
| 70 | + {{.sidebarTocContent | Safe}} |
| 71 | + </div> |
| 72 | + {{end}} |
| 73 | + |
| 74 | + <div class="markup wiki-content-main {{if or .sidebarTocContent .sidebarPresent}}with-sidebar{{end}}"> |
68 | 75 | {{template "repo/unicode_escape_prompt" dict "EscapeStatus" .EscapeStatus "root" $}}
|
69 | 76 | {{.content | Safe}}
|
70 | 77 | </div>
|
71 |
| - {{if or .sidebarPresent .sidebarTocContent}} |
72 |
| - <div class="column gt-pt-0"> |
73 |
| - {{if .sidebarTocContent}} |
74 |
| - <div class="ui segment wiki-content-toc"> |
75 |
| - {{.sidebarTocContent | Safe}} |
76 |
| - </div> |
77 |
| - {{end}} |
78 |
| - {{if .sidebarPresent}} |
79 |
| - <div class="ui segment wiki-content-sidebar"> |
80 |
| - {{if and .CanWriteWiki (not .Repository.IsMirror)}} |
81 |
| - <a class="ui right floated muted" href="{{.RepoLink}}/wiki/_Sidebar?action=_edit" aria-label="{{.locale.Tr "repo.wiki.edit_page_button"}}">{{svg "octicon-pencil"}}</a> |
82 |
| - {{end}} |
83 |
| - {{template "repo/unicode_escape_prompt" dict "EscapeStatus" .sidebarEscapeStatus "root" $}} |
84 |
| - {{.sidebarContent | Safe}} |
85 |
| - </div> |
| 78 | + |
| 79 | + {{if .sidebarPresent}} |
| 80 | + <div class="markup wiki-content-sidebar"> |
| 81 | + {{if and .CanWriteWiki (not .Repository.IsMirror)}} |
| 82 | + <a class="ui right floated muted" href="{{.RepoLink}}/wiki/_Sidebar?action=_edit" aria-label="{{.locale.Tr "repo.wiki.edit_page_button"}}">{{svg "octicon-pencil"}}</a> |
86 | 83 | {{end}}
|
| 84 | + {{template "repo/unicode_escape_prompt" dict "EscapeStatus" .sidebarEscapeStatus "root" $}} |
| 85 | + {{.sidebarContent | Safe}} |
87 | 86 | </div>
|
88 | 87 | {{end}}
|
89 |
| - </div> |
90 |
| - {{if .footerPresent}} |
91 |
| - <div class="ui segment wiki-content-footer"> |
92 |
| - {{if and .CanWriteWiki (not .Repository.IsMirror)}} |
93 |
| - <a class="ui right floated muted" href="{{.RepoLink}}/wiki/_Footer?action=_edit" aria-label="{{.locale.Tr "repo.wiki.edit_page_button"}}">{{svg "octicon-pencil"}}</a> |
| 88 | + |
| 89 | + <div class="gt-clear-both"></div> |
| 90 | + |
| 91 | + {{if .footerPresent}} |
| 92 | + <div class="markup wiki-content-footer"> |
| 93 | + {{if and .CanWriteWiki (not .Repository.IsMirror)}} |
| 94 | + <a class="ui right floated muted" href="{{.RepoLink}}/wiki/_Footer?action=_edit" aria-label="{{.locale.Tr "repo.wiki.edit_page_button"}}">{{svg "octicon-pencil"}}</a> |
| 95 | + {{end}} |
| 96 | + {{template "repo/unicode_escape_prompt" dict "footerEscapeStatus" .sidebarEscapeStatus "root" $}} |
| 97 | + {{.footerContent | Safe}} |
| 98 | + </div> |
94 | 99 | {{end}}
|
95 |
| - {{template "repo/unicode_escape_prompt" dict "footerEscapeStatus" .sidebarEscapeStatus "root" $}} |
96 |
| - {{.footerContent | Safe}} |
97 | 100 | </div>
|
98 |
| - {{end}} |
99 | 101 | </div>
|
100 | 102 | </div>
|
101 | 103 |
|
|
0 commit comments