File tree 5 files changed +34
-1
lines changed
_sass/minimal-mistakes/minimal-mistakes
5 files changed +34
-1
lines changed Original file line number Diff line number Diff line change @@ -111,5 +111,6 @@ group :jekyll_plugins do
111
111
# https://github.com/HofiOne/minimal-mistakes
112
112
#
113
113
gem "jekyll-include-cache"
114
+ gem "jekyll-github-metadata"
114
115
# gem "github-pages"
115
116
end
Original file line number Diff line number Diff line change @@ -258,4 +258,4 @@ product:
258
258
name : ' syslog-ng Open Source Edition'
259
259
short_name : ' syslog-ng OSE'
260
260
261
- repository : syslog-ng/syslog-ng
261
+ repository : syslog-ng/syslog-ng
Original file line number Diff line number Diff line change
1
+ {% if site.github.repository_url %}
2
+ {% assign contrib_view = site.github.repository_url | append: '/tree/master/' | append: site.collections_dir | append: '/' | append: page.relative_path %}
3
+ {% assign contrib_edit = site.github.repository_url | append: '/edit/master/' | append: site.collections_dir | append: '/' | append: page.relative_path %}
4
+ {% assign contrib_report = site.github.repository_url | append: '/issues/new?title=Issue with ' | append: page.relative_path %}
5
+
6
+ < aside class ="sidebar__right sticky contrib ">
7
+ < div class ="align-right ">
8
+ < button id ="view " class ="masthead_button " type ="button " onclick ="window.open('{{contrib_view}}', '_blank') ">
9
+ < i class ="masthead_button_icon fas fa-eye content-tooltip tooltip-align-center text-content-tooltip " data-tooltip-text ="View page source "> </ i >
10
+ </ button >
11
+
12
+ < button id ="edit " class ="masthead_button " type ="button " onclick ="window.open('{{contrib_edit}}', '_blank') ">
13
+ < i class ="masthead_button_icon far fa-edit content-tooltip tooltip-align-center text-content-tooltip " data-tooltip-text ="Edit this page "> </ i >
14
+ </ button >
15
+
16
+ < button id ="report " class ="masthead_button " type ="button " onclick ="window.open('{{contrib_report}}', '_blank') ">
17
+ < i class ="masthead_button_icon fas fa-bug content-tooltip tooltip-align-center text-content-tooltip " data-tooltip-text ="Report an issue "> </ i >
18
+ </ button >
19
+ </ div >
20
+ </ aside >
21
+ {% endif %}
Original file line number Diff line number Diff line change 4
4
{% assign sidebarItemCount = page.sidebar.nav | size %}
5
5
{% endif %}
6
6
7
+ {% include page__contribution.html %}
8
+
7
9
< div class ="sidebar {% if site.sidebar.sticky == true %}sticky{% endif %} {% if sidebarItemCount == 0 %}empty{% endif %} ">
8
10
{% if page.author_profile or layout.author_profile %}
9
11
{% include author-profile.html %}
Original file line number Diff line number Diff line change 99
99
}
100
100
}
101
101
}
102
+
103
+ & .contrib {
104
+ top : calc (#{$masthead-sticky } * 2 * #{$nav-height } );
105
+ margin-bottom : -2em ;
106
+ padding-right : 2.5em ;
107
+ width : $right-sidebar-width-wide ;
108
+ z-index : 0 ;
109
+ }
102
110
}
103
111
104
112
@include breakpoint ($x-large ) {
118
126
margin-right : 0 ;
119
127
}
120
128
}
129
+
121
130
122
131
/*
123
132
Author profile and links
You can’t perform that action at this time.
0 commit comments