File tree Expand file tree Collapse file tree 4 files changed +11
-14
lines changed
Expand file tree Collapse file tree 4 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 11<!-- Import jQuery -->
22< script type ="text/javascript " src ="{{ "/assets/jquery.js" | prepend: site.baseurl }}"> </ script >
3-
3+ < script src =" https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.2.2/anchor.min.js " integrity =" sha256-E4RlfxwyJVmkkk0szw7LYJxuPlp6evtPSBDlWHsYYL8= " crossorigin =" anonymous " > </ script >
44< script type ="text/javascript ">
5+ // Add anchors on DOMContentLoaded
6+ document . addEventListener ( 'DOMContentLoaded' , function ( event ) {
7+ anchors . add ( ) ;
8+ } ) ;
9+ </ script >
510
11+ < script type ="text/javascript ">
612 // Script which allows for foldable code blocks
713 $ ( 'div.foldable pre' ) . each ( function ( ) {
814 var autoHeight = $ ( this ) . height ( ) ;
Original file line number Diff line number Diff line change 77 {{ content }}
88
99 {%- if site.posts.size > 0 -%}
10- < h2 class ="post-list-heading "> {{ page.list_title | default: "Posts" }} </ h2 >
10+ < h1 class ="post-list-heading "> Announcements </ h1 >
1111 < ul class ="post-list ">
1212 {%- for post in site.posts -%}
1313 < li >
1414 {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
1515 < span class ="post-meta "> {{ post.date | date: date_format }}</ span >
16- < h3 > {{ post.title | escape }}</ h3 >
16+ < h2 > {{ post.title | escape }}</ h2 >
1717 {%- if post.short -%}
1818 {{ post.excerpt }}
1919 {%- else -%}
2020 {{ post.excerpt }}
21- < br />
22- < a class ="post-link " href ="{{ post.url | relative_url }} "> (more)</ a >
21+ < a href ="{{ post.url | relative_url }} "> (more)</ a >
2322 {%- endif -%}
2423 </ li >
2524 {%- endfor -%}
Original file line number Diff line number Diff line change @@ -17,11 +17,3 @@ <h1 class="post-title">{{ page.title | escape }}</h1>
1717 {% include next.html %}
1818
1919</ article >
20-
21- < script src ="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.2.2/anchor.min.js " integrity ="sha256-E4RlfxwyJVmkkk0szw7LYJxuPlp6evtPSBDlWHsYYL8= " crossorigin ="anonymous "> </ script >
22- < script type ="text/javascript ">
23- // Add anchors on DOMContentLoaded
24- document . addEventListener ( 'DOMContentLoaded' , function ( event ) {
25- anchors . add ( ) ;
26- } ) ;
27- </ script >
Original file line number Diff line number Diff line change 11---
22layout : post
3- title : " Praise for PLFA! "
3+ title : " Praise for PLFA"
44short : true
55---
66
You can’t perform that action at this time.
0 commit comments