Skip to content

Commit 1803b85

Browse files
committed
Merge pull request elixir-lang#676 from cazrin/default-permalink-for-blog-posts
Set a default permalink for blog posts
2 parents 19bd140 + a3bc769 commit 1803b85

23 files changed

+16
-31
lines changed

_config.yml

+7
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,10 @@ gems:
77
- jemoji
88
- jekyll-sitemap
99
- jekyll-redirect-from
10+
defaults:
11+
- scope:
12+
path: ""
13+
type: posts
14+
values:
15+
layout: post
16+
permalink: /blog/:year/:month/:day/:title/

_posts/2012-04-24-a-peek-inside-elixir-s-parallel-compiler.markdown

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: A peek inside Elixir's Parallel Compiler
54
author: José Valim
65
category: Internals
@@ -28,7 +27,7 @@ In Elixir, we could write this code as follows:
2827
:erlang.raise(:error, reason, where)
2928
end
3029
end
31-
30+
3231
def spawn_compilers([], _output) do
3332
:done
3433
end

_posts/2012-05-25-elixir-v0-5-0-released.markdown

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir v0.5.0 released
54
author: José Valim
65
category: Releases
@@ -46,4 +45,4 @@ In parallel, we will improve our [documentation generation tool](https://github.
4645

4746
Finally, we will continue improving the Standard Library. Although Elixir's goal is to rely on Erlang the most as possible, we also want to provide a small Standard Library which makes better use of Elixir semantics. For the next weeks, we will focus on improving the IO and File manipulation modules. New data types may also appear, for example, ranges come to my mind.
4847

49-
Check out our [home page](/) and the [getting started guide](/getting-started/introduction.html) for more information. Welcome aboard and grab a cup of Elixir, because you are certainly going to enjoy the ride!
48+
Check out our [home page](/) and the [getting started guide](/getting-started/introduction.html) for more information. Welcome aboard and grab a cup of Elixir, because you are certainly going to enjoy the ride!

_posts/2012-08-01-elixir-v0-6-0-released.markdown

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir v0.6.0 released
54
author: José Valim
65
category: Releases
@@ -25,4 +24,4 @@ Our interactive shell (IEx) also had many improvements, thanks to the Elixir dev
2524

2625
That's it. For the next months, we will continue improving Elixir (you can see some ideas floating around in the [issues tracker](https://github.com/elixir-lang/elixir/issues)) but we will start to focus on other tools and libraries for the community.
2726

28-
Thank you and don't forget to [give Elixir a try](/getting-started/introduction.html)!
27+
Thank you and don't forget to [give Elixir a try](/getting-started/introduction.html)!

_posts/2012-10-20-elixir-v0-7-0-released.markdown

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir v0.7.0 released
54
author: José Valim
65
category: Releases
@@ -16,4 +15,4 @@ This release also includes some backwards incompatible changes, but the majority
1615

1716
For more information, read out the [CHANGELOG](https://github.com/elixir-lang/elixir/blob/v0.7.0/CHANGELOG.md).
1817

19-
Thank you and don't forget to [give Elixir a try](/getting-started/introduction.html)!
18+
Thank you and don't forget to [give Elixir a try](/getting-started/introduction.html)!

_posts/2012-11-18-elixir-v0-7-1-released.markdown

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir v0.7.1 released
54
author: José Valim
65
category: Releases

_posts/2012-12-04-elixir-v0-7-2-released.markdown

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir v0.7.2 released
54
author: Yurii Rashkovskii
65
category: Releases

_posts/2013-01-27-elixir-v0-8-0-released.markdown

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir v0.8.0 released
54
author: José Valim
65
category: Releases

_posts/2013-04-19-google-summer-of-code-2013.markdown

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Google Summer of Code 2013
54
author: José Valim
65
category: Announcements

_posts/2013-04-29-elixir-v0-8-2-released.markdown

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir v0.8.2 released
54
author: José Valim
65
category: Releases

_posts/2013-05-02-elixir-on-xen.markdown

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir on Xen
54
author: José Valim
65
category: Announcements

_posts/2013-05-23-elixir-v0-9-0-released.markdown

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir v0.9.0 released
54
author: José Valim
65
category: Releases

_posts/2013-07-13-elixir-v0-10-0-released.markdown

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir v0.10.0 released
54
author: José Valim
65
category: Releases

_posts/2013-08-08-elixir-design-goals.markdown

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir Design Goals
54
author: José Valim
65
category: Internals
@@ -64,7 +63,7 @@ ExUnit.start
6463

6564
defmodule MathTest do
6665
use ExUnit.Case, async: true
67-
66+
6867
test "adding two numbers" do
6968
assert 1 + 2 == 4
7069
end

_posts/2013-11-05-elixir-v0-11-0-released.markdown

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir v0.11.0 released
54
author: José Valim
65
category: Releases

_posts/2013-12-11-elixir-s-new-continuable-enumerators.markdown

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir's new continuable enumerators
54
author: Peter Minten
65
category: Internals
@@ -113,7 +112,7 @@ same as in the old system. A consumer may return `:halt` to have the producer
113112
terminate earlier than it normally would.
114113

115114
The real magic is in `:suspend` though. It tells a producer to return the
116-
accumulator and a continuation function.
115+
accumulator and a continuation function.
117116

118117
```elixir
119118
{ :suspended, n_, cont } = Enumerable.reduce(1..5, { :cont, 0 }, fn x, n ->

_posts/2013-12-15-elixir-v0-12-0-released.markdown

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir v0.12.0 released
54
author: José Valim
65
category: Releases
@@ -11,7 +10,7 @@ Elixir v0.12.0 has been released with improved enumerables, build patterns and w
1110

1211
## Enumerables
1312

14-
In previous versions, the Enumerable protocol was based on reduce/fold, and while it is very efficient for operations like `map`, `reduce` and `filter`, it was sub-optimal for operations that need to halt, like `take` and `take_while`, and it made it impossible for operations like `zip` to be implemented.
13+
In previous versions, the Enumerable protocol was based on reduce/fold, and while it is very efficient for operations like `map`, `reduce` and `filter`, it was sub-optimal for operations that need to halt, like `take` and `take_while`, and it made it impossible for operations like `zip` to be implemented.
1514

1615
In v0.12.0, Elixir's Enumerable protocol has been extended to allow suspension and halting mechanisms, making operations like `take` simpler and operations that require interleaving, like `zip`, possible.
1716

_posts/2014-04-21-elixir-v0-13-0-released.markdown

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir v0.13.0 released, hex.pm and ElixirConf announced
54
author: José Valim
65
category: Releases
@@ -37,7 +36,7 @@ In a nutshell, here is what new:
3736

3837
* There are many other changes, like the addition of [StringIO](/docs/stable/elixir/StringIO.html), support for [tags and filters in ExUnit](/docs/stable/ex_unit/ExUnit.Case.html) and more. Please check the [CHANGELOG](https://github.com/elixir-lang/elixir/blob/v0.13.0/CHANGELOG.md) for the complete list.
3938

40-
Even with all those improvements, Elixir v0.13.0 is backwards compatible with Elixir v0.12.5 and upgrading should be a clean process.
39+
Even with all those improvements, Elixir v0.13.0 is backwards compatible with Elixir v0.12.5 and upgrading should be a clean process.
4140

4241
## Maps
4342

@@ -238,7 +237,7 @@ This makes comprehensions useful not only for working with in-memory collections
238237

239238
## Mix workflows
240239

241-
The last big change we want to discuss in this release are the improvements done to Mix, Elixir's build tool. Mix is an essential tool to Elixir developers and helps developers to compile their projects, manage their dependencies, run tests and so on.
240+
The last big change we want to discuss in this release are the improvements done to Mix, Elixir's build tool. Mix is an essential tool to Elixir developers and helps developers to compile their projects, manage their dependencies, run tests and so on.
242241

243242
In previous releases, Mix was used to download and compile dependencies per environment. That meant the usual workflow was less than ideal: every time a dependency was updated, developers had to explicitly fetch and compile the dependencies for each environment. The workflow would be something like:
244243

_posts/2014-06-17-elixir-v0-14-0-released.markdown

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir v0.14.0 released
54
author: José Valim
65
category: Releases

_posts/2014-08-07-elixir-v0-15-0-released.markdown

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir v0.15.0 released
54
author: José Valim
65
category: Releases

_posts/2014-09-18-elixir-v1-0-0-released.markdown

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir v1.0 released
54
author: José Valim
65
category: Releases

_posts/2015-09-28-elixir-v1-1-0-released.markdown

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir v1.1 released
54
author: José Valim
65
category: Releases

_posts/2016-01-03-elixir-v1-2-0-released.markdown

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
layout: post
3-
permalink: /blog/:year/:month/:day/:title/
43
title: Elixir v1.2 released
54
author: José Valim
65
category: Releases

0 commit comments

Comments
 (0)