Skip to content

Commit 32978b5

Browse files
committed
Changed announcements
1 parent 95033b0 commit 32978b5

File tree

4 files changed

+11
-14
lines changed

4 files changed

+11
-14
lines changed

_includes/script.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
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();

_layouts/home.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,18 @@
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 -%}

_layouts/page.html

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff 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>

_posts/2020-04-30-praise-for-plfa.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout : post
3-
title : "Praise for PLFA!"
3+
title : "Praise for PLFA"
44
short : true
55
---
66

0 commit comments

Comments
 (0)