Skip to content

Commit cdb5005

Browse files
authored
Merge pull request #1744 from adpi2/highlights-2024
Add Scala Highlights from 2024
2 parents ed67680 + 6a8292c commit cdb5005

24 files changed

+270
-59
lines changed

_data/blog-categories.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
- categoryId: blog
22
title: Blog
33
url: /blog/posts/
4-
- categoryId: news
5-
title: News
6-
url: /blog/news/
4+
- categoryId: highlights
5+
title: Highlights
6+
url: /blog/highlights
77
- categoryId: announcements
88
title: Announcement
99
url: /blog/announcements/

_includes/blog-list.html

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% comment %}Use the include variable 'category' to select the category to show (included in blog-categories.yml), or assign it to "all" if you want to show all posts.{% endcomment %}
22

3-
<section class="content">
3+
<section class="blog-list">
44
<div class="wrap">
55
<div class="content-primary-blog">
66
<div class="inner-box">
@@ -39,37 +39,5 @@ <h2><a href="{{post.url}}">{{post.title}}</a></h2>
3939
{% assign urlPath = urlPath | split: '/' | join: '/' | remove_first: '/' %}
4040
{% include paginator.html urlPath=urlPath %}
4141
</div>
42-
{% assign highlights = "" | split: "," %}
43-
{% for post in site.posts %}
44-
{% if post.isHighlight == true %}
45-
{% assign highlights = highlights | push: post %}
46-
{% endif %}
47-
{% endfor %}
48-
49-
{% for post in highlights %}
50-
{% if forloop.first %}
51-
<div class="content-nav-blog">
52-
<div class="inner-box">
53-
<h5>Highlights</h5>
54-
<div class="blog-list-nav">
55-
{% endif %}
56-
<div class="blog-list-nav-item">
57-
<h4><a href="{{post.url}}">{{post.title}}</a></h4>
58-
{% if post.by %}<p>{{post.by}}</p>{% endif %}
59-
{% if post.tags %}
60-
{% for tag in post.tags %}
61-
<ul class="tag-list">
62-
<li class="tag-item">{{tag}}</li>
63-
</ul>
64-
{% endfor %}
65-
{% endif %}
66-
</div>
67-
{% if forloop.last %}
68-
</div>
69-
</div>
70-
</div>
71-
{% endif %}
72-
{% endfor %}
73-
7442
</div>
7543
</section>

_posts/2013-03-12-scala-days-4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
category: news
3+
category: blog
44
title: "4th Scala Days Conference to run in New York City"
55
---
66

_posts/2013-03-20-gsoc13.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
category: news
3+
category: blog
44
title: "Google Summer of Code 2013 Scala Projects"
55
author: "Chris Vogt"
66
---

_posts/2013-04-11-philip-wadler-sw13.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
category: news
3+
category: blog
44
title: "Prof. Philip Wadler to Keynote at the Scala Workshop (Scala2013)!"
55
---
66

_posts/2013-04-11-student-talks-sw13.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
category: news
3+
category: blog
44
title: "Scala Workshop (Scala2013) Student Talks to be Awarded Full ECOOP Registration!"
55
---
66

_posts/2013-05-21-scala-workshop-13.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
category: news
3+
category: blog
44
author: "Heather Miller"
55
title: "Scala Workshop (Scala2013) Program Announced!"
66
---

_posts/2013-08-27-coursera-announcements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
category: news
3+
category: blog
44
by: "Martin Odersky"
55
title: "New Online Courses"
66
---

_posts/2014-01-22-10-years-of-scala.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
category: news
3+
category: blog
44
title: "10 Years of Scala"
55
by: "Martin Odersky"
66
---

_posts/2014-02-24-scala-team-approved-to-be-gsoc-mentor-organization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22

3-
category: news
3+
category: blog
44
title: "Google Summer of Code 2014"
55
by: "Tobias Schlatter"
66
author: "Tobias Schlatter"

0 commit comments

Comments
 (0)