Skip to content

Commit e766ba3

Browse files
committed
Adds link to source code of current module
1 parent b369fee commit e766ba3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

dpl-docs/views/layout.dt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,13 @@ html(lang='en-US')
200200
| If you spot a problem with this page, click here to create a
201201
| Bugzilla issue.
202202

203+
- if( modname )
204+
.tip.smallprint
205+
a(href='https://github.com/dlang/#{project}/blob/master/#{path_prefix}#{filename}#{line_suffix}')
206+
| Source
207+
div
208+
| Source code of this page
209+
203210
- if( modname )
204211
.tip.smallprint
205212
a(href='https://github.com/dlang/#{project}/edit/master/#{path_prefix}#{filename}#{line_suffix}')

0 commit comments

Comments
 (0)