Skip to content

Commit e4e76ef

Browse files
committed
update instructions
1 parent 23d7dc3 commit e4e76ef

File tree

1 file changed

+9
-17
lines changed

1 file changed

+9
-17
lines changed

blog/README.md

+9-17
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,23 @@ Adding a blog entry to scala-lang is simple – we use Jekyll (see the README in
44
the root of this repository for Jekyll setup instructions in case you don't
55
have Jekyll installed.)
66

7-
## What's the difference between a blog entry and a news item?
8-
9-
A blog article is a larger instructional/opinion/informational original piece.
10-
An example is the blog article that we published about running our first
11-
Coursera course in December 2012,
12-
_[Functional Programming Principles in Scala: Impressions and Statistics](https://docs.scala-lang.org/news/functional-programming-principles-in-scala-impressions-and-statistics.html)_.
13-
News items
14-
or announcements on the other hand are just that – short news flashes
15-
announcing something, whether it be a new release, a new project, a new
16-
course, or anything in between.
17-
18-
If you realize you should be writing a news item instead of a blog article,
19-
see the README in the `/news` directory of this repository for instructions on
20-
how to add a news item to our feed (both blog articles and news items show up
21-
in the same place on the front page of scala-lang.org)
7+
## What kinds of entries exist?
8+
9+
There are three:
10+
11+
* `category: release` for Scala release announcements
12+
* `category: highlights` for issues of the Scala Highlights newsletter
13+
* `category: blog` for everything else
2214

2315
## Workflow
2416

25-
- Create a markdown file in the `/blog/_posts` directory of this repository named according to the convention: `YYYY-MM-DD-name-for-your-article.md`
17+
- Create a markdown file in the `/blog/_posts` directory of this repository (or the `/_posts/` directory for release announcements) named according to the convention: `YYYY-MM-DD-name-for-your-article.md`
2618
- Add some YAML frontmatter. For example:
2719

2820
```
2921
---
3022
layout: blog-detail
31-
post-type: blog
23+
category: blog
3224
by: Joe Schmoe
3325
title: My Uber Cool Scala Article
3426
---

0 commit comments

Comments
 (0)