File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 53
53
background-image : url(../ img/octicons-24.svg#view-home-fill);
54
54
}
55
55
56
+ .project-link {
57
+ display : block;
58
+ filter : var (--toolbar-primary-icon-filter );
59
+ margin-right : 1ch ;
60
+ }
61
+
62
+ .project-link .icon {
63
+ display : inherit;
64
+ height : 1rem ;
65
+ width : 1rem ;
66
+ }
67
+
68
+ .project-link .icon img {
69
+ height : inherit;
70
+ width : inherit;
71
+ }
72
+
56
73
.edit-this-page {
57
74
display : none;
58
75
padding-right : 0.5rem ;
Original file line number Diff line number Diff line change
1
+ {{ #if page.attributes.project-url }}
2
+ <a class =" project-link" href =" {{{ page.attributes.project-url }}} " title =" Project home" ><span class =" icon" ><img src =" {{{ uiRootPath }}} /img/octicons-16.svg#view-mark-{{{ or page.attributes.project-host ' github' }}} " ></span ></a >
3
+ {{ /if }}
1
4
{{ #if (and page.fileUri (not env.CI ))}}
2
5
<div class =" edit-this-page" ><a href =" {{ page.fileUri }} " >Edit this Page</a ></div >
3
6
{{ else if (and page.editUrl (or env.FORCE_SHOW_EDIT_PAGE_LINK (not page.origin.private)))}}
You can’t perform that action at this time.
0 commit comments