@@ -40,7 +40,7 @@ <h2 class="heading-category" id="{{ele.cat}}">{{ele.cat}}</h2>
40
40
{%- for entry in ele.entries -%}
41
41
{%- assign eid = entry.name | downcase -%}
42
42
< div class ="ref-entry " id ="{{eid}} ">
43
- < div class ="entry-heading "> < a class ="entry-heading-link " href ="/reference/{{ele.cat}}/{{entry.name}}.html "> {{entry.codetitle}}</ a > </ div >
43
+ < h4 class ="entry-heading "> < a class ="entry-heading-link " href ="/reference/{{ele.cat}}/{{entry.name}}.html "> {{entry.codetitle}}</ a > </ h4 >
44
44
{%- if entry.summary != null -%}
45
45
< p class ="summary "> {{entry.summary | markdownify | replace: '< p > ', ''| replace: '</ p > ', '' }}</ p >
46
46
{%- else -%}
@@ -55,6 +55,7 @@ <h2 class="heading-category" id="{{ele.cat}}">{{ele.cat}}</h2>
55
55
{%- endif -%}
56
56
</ p >
57
57
{%- endif -%}
58
+
58
59
</ div >
59
60
{%- endfor -%} <!-- End of sub entries loop-->
60
61
</ section >
@@ -64,48 +65,10 @@ <h2 class="heading-category" id="{{ele.cat}}">{{ele.cat}}</h2>
64
65
</ section >
65
66
</ div >
66
67
67
- < script >
68
- // const searchstring = 'foo';
69
- // window.lunrjssearchdata = JSON.parse(searchstring);
70
- </ script >
71
- {%- comment -%}
72
- < h2 id ="cat-ndx "> Categories</ h2 >
73
- < div class ="index ">
74
- {%- for element in site.data.cats-and-subcats %}
75
- < section class ="category ">
76
- {%- assign newcat = true -%}
77
- {%- for ele in element -%}
78
- {%- if newcat == true -%}
79
- < h3 class ="reference-category "> {{ele.cat}}</ h3 >
80
- {%- assign newcat = false -%}
81
- {%- endif -%}
82
- {%- unless ele.subcat == 'null' -%}< h4 class ="reference-subcategory "> {{ele.subcat}}</ h4 > {%- endunless -%}
83
- < ul class ="reference-lists ">
84
- <!-- this is the list -->
85
- {%- for entry in ele.entries -%}
86
- {%- assign eid = entry.name |downcase -%}
87
- < li id ="{{eid}}-ndx "> < a href ="#{{eid}} "> {{entry.codetitle}}</ a > </ li >
88
- {%- endfor -%}
89
- </ ul > {%- endfor -%}
90
- </ section >
91
- {%- endfor -%}
92
- </ div >
93
-
94
- <!-- start item in cat loop -->
95
68
96
- < div class ="entries ">
97
- {%- for item in site.data.categories -%}{%- assign id = item.cat | downcase -%}
98
- < h3 id ="{{id}} "> {{item.cat}}</ h3 >
99
- <!-- start entries in cat loop -->
100
- {%- for entry in item.entries -%}{%- include entry-card.html entry=entry ispage=false -%}{%- endfor -%}
101
- <!-- end entries in cat loop -->
102
- {%- endfor -%}
103
- <!-- end item in cat loop --> </ div >
104
-
105
- {%- endcomment -%}
106
- < div class ="totop "> < a href ="# "> ☝︎ back to top</ a > </ div >
107
- < div class ="totop-shadow "> < a href ="# "> ☝︎ back to top</ a >
108
- </ div >
109
- < script type ="text/javascript ">
110
- // var searchindex = {{ site.data.categories | jsonify }};
111
- </ script >
69
+ < div class ="totop ">
70
+ < a href ="# "> ☝︎ back to top</ a >
71
+ </ div >
72
+ < div class ="totop-shadow ">
73
+ < a href ="# "> ☝︎ back to top</ a >
74
+ </ div >
0 commit comments