3
3
---
4
4
5
5
< div class ="page-header ">
6
- < div class ="row ">
7
- < div class ="col-md-7 ">
8
- < h1 > {{ page.title }}
9
- {% if page.subtitle %}< small > {{ page.subtitle }}</ small > {% endif %}
10
- </ h1 >
11
- </ div >
12
- < div class ="col-md-5 edit-buttons ">
13
- <!-- Hide Prose.io: it allows edits but result cannot be saved in any way (message "Error connecting to Github") so it is
6
+ < div class ="row ">
7
+ < div class ="col-md-7 ">
8
+ < h1 > {{ page.title }}
9
+ {% if page.subtitle %}< small > {{ page.subtitle }}</ small > {% endif %}
10
+ </ h1 >
11
+ </ div >
12
+ < div class ="col-md-5 edit-buttons ">
13
+ <!-- Hide Prose.io: it allows edits but result cannot be saved in any way (message "Error connecting to Github") so it is
14
14
more annoying than useful. Actually not useful at all, but misleading. Fix the whole process before enabling again. -->
15
- <!-- a href="http://prose.io/#{{site.github.repo}}/edit/master/{{page.path}}" class="btn btn-default pull-right-md pull-left-sm">
15
+ <!-- a href="http://prose.io/#{{site.github.repo}}/edit/master/{{page.path}}" class="btn btn-default pull-right-md pull-left-sm">
16
16
<i class="glyphicon glyphicon-edit"></i> Edit in Prose.io
17
17
</a -->
18
- < a href ="https://seravo.com/ " class ="btn btn-default pull-right-md pull-left-sm ">
19
- < i class ="glyphicon glyphicon-arrow-right "> </ i > Go to seravo.com
20
- </ a >
21
- < a href ="https://github.com/{{site.github.repo}}/edit/master/{{page.path}} " class ="btn btn-default pull-right-md pull-left-sm ">
22
- < i class ="glyphicon glyphicon-file "> </ i > Edit on github.com
23
- </ a >
24
- </ div >
25
- </ div >
18
+ < a href ="https://seravo.com/ " class ="btn btn-default pull-right-md pull-left-sm ">
19
+ < i class ="glyphicon glyphicon-arrow-right "> </ i > Go to seravo.com
20
+ </ a >
21
+ {% if page.path == "index.md" %}
22
+ < a href ="https://github.com/{{site.github.repo}}/edit/master/{{page.path}} "
23
+ class ="btn btn-default pull-right-md pull-left-sm ">
24
+ < i class ="glyphicon glyphicon-file "> </ i > Edit on github.com
25
+ </ a >
26
+ {% else %}
27
+ < a href ="https://github.com/{{site.github.repo}}/edit/master/pages/{{page.path}} "
28
+ class ="btn btn-default pull-right-md pull-left-sm ">
29
+ < i class ="glyphicon glyphicon-file "> </ i > Edit on github.com
30
+ </ a >
31
+ {% endif %}
32
+ </ div >
33
+ </ div >
26
34
</ div >
27
35
28
36
{% if page.summary %}
29
37
< div class ="bs-callout bs-callout-primary ">
30
- < p > < strong > Summary: </ strong > {{ page.summary | newline_to_br | markdownify | remove: '< p > ' | remove: '</ p > ' }}</ p >
38
+ < p > < strong > Summary: </ strong > {{ page.summary | newline_to_br | markdownify | remove: '
39
+ < p > ' | remove: '</ p > ' }}</ p >
31
40
</ div >
32
41
{% endif %}
33
42
34
- {{ content }}
43
+ {{ content }}
0 commit comments