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 5353 background-image : url(../ img/octicons-24.svg#view-home-fill);
5454}
5555
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+
5673.edit-this-page {
5774 display : none;
5875 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 }}
14{{ #if (and page.fileUri (not env.CI ))}}
25<div class =" edit-this-page" ><a href =" {{ page.fileUri }} " >Edit this Page</a ></div >
36{{ 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