diff --git a/blog/static/css/main.css b/blog/static/css/main.css
index a4cade58..e928c375 100644
--- a/blog/static/css/main.css
+++ b/blog/static/css/main.css
@@ -228,3 +228,11 @@ a.gutenberg-anchor {
a.gutenberg-anchor:hover {
text-decoration: none;
}
+
+div.warning {
+ padding: .7rem 1rem;
+ margin: 1rem .2rem;
+ border: 2px solid orange;
+ border-radius: 5px;
+ background-color: #ffa50022;
+}
diff --git a/blog/templates/second-edition/base.html b/blog/templates/second-edition/base.html
new file mode 100644
index 00000000..bc28fdc2
--- /dev/null
+++ b/blog/templates/second-edition/base.html
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
+
+
{% block main %}{% endblock main %}
+
+
{% block after_main %}{% endblock after_main %}
+
+
+
+
+
+
+
+
+
+
diff --git a/blog/templates/second-edition/index.html b/blog/templates/second-edition/index.html
new file mode 100644
index 00000000..97c1fe37
--- /dev/null
+++ b/blog/templates/second-edition/index.html
@@ -0,0 +1,38 @@
+{% extends "second-edition/base.html" %}
+
+{% import "macros.html" as macros %}
+
+{% block title %}{{ config.title }}{% endblock title %}
+
+{% block main %}
+{% set posts_section = get_section(path = "second-edition/posts/_index.md") %}
+{% set posts = posts_section.pages | reverse %}
+
+
Note: You are viewing the upcoming second edition of “Writing an OS in Rust”, which is still under construction. To read the first edition, go
here.
+
+
+
+ This blog series creates a small operating system in the
+ Rust programming language. Each post is a small tutorial and includes all
+ needed code, so you can follow along if you like. The source code is also available in the corresponding
+ Github repository.
+
+
Latest post:
+ {% set latest_post = posts|last %}
+ {{ latest_post.title }}
+
+
+
+
+ {{ macros::post_link(page=posts.0) }}
+ {{ macros::post_link(page=posts.1) }}
+ {{ macros::post_link(page=posts.2) }}
+
+
+
+
Note: This post is part of the upcoming
second edition of “Writing an OS in Rust”, which is still under construction. To read the first edition, go
here.
+
+ {{ page.content | safe }}
+{% endblock main %}
+
+{% block after_main %}
+
+ {% if page.previous %}
+
« {{ page.previous.title }}
+ {% endif %}
+ {% if page.next %}
+
{{ page.next.title }} »
+ {% endif %}
+
+
+