File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 10
10
{% block content %}
11
11
< div class ="flex items-center flex-col mt-10 ">
12
12
< div class ="markdown-content ">
13
- < h1 > {{ page.title }}</ h1 >
13
+ < h1 > {{ page.title | replace(from="~", to=" < br > ") | safe }}</ h1 >
14
14
</ div >
15
15
16
16
< div class ="author-date ">
Original file line number Diff line number Diff line change 34
34
35
35
{# linked icon (like PR) could come here #}
36
36
37
- < div class ="flex-grow border border-2 doc-button rounded-xl p-5 shadow-2xl transform transition duration-300 hover:scale-105
38
- {% if page.title == 'master' %}
39
- button-background
40
- {% else %}
41
- button-background-2
42
- {% endif %}
43
- ">
37
+ <!-- Article title -->
38
+ < div class ="flex-grow border border-2 doc-button rounded-xl p-5 shadow-2xl transform transition duration-300 hover:scale-105 button-background-2 ">
44
39
< a href ="{{ page.permalink }} " class ="pr-link-box " title ="API docs for {{ page.title }} "> </ a >
45
40
< div class ="flex flex-col justify-center "> <!-- py-2 -->
46
- < h3 class ="pr-num "> {{ page.title }}</ h3 >
41
+ < h3 class ="pr-num "> {{ page.title | replace(from="~", to=" < br > ") | safe }}</ h3 >
47
42
< p > {{ page.description }}</ p >
48
43
</ div >
49
44
50
- <!-- PR title -->
45
+ <!-- Article subtitle/summary -->
51
46
< div class ="flex flex-wrap py-2 ">
52
47
< div class ="flex items-center ">
53
48
< div class ="pr-content flex space-x-3 text-gray-900 dark:text-gray-400 ">
You can’t perform that action at this time.
0 commit comments