{% extends "edition-3/foundation.html" %} {% import "edition-3/macros.html" as macros %} {% import "snippets.html" as snippets %} {% block title %}{{ config.title }}{% endblock title %} {% block main %} {% set posts_section = get_section(path = "edition-3/posts/_index.md") %} {% set posts = posts_section.pages %} {{ section.content | replace(from="", to=macros::latest_post(posts=posts)) | replace(from="", to=macros::alpha_warning()) | safe }} {%- set chapter = "none" -%} {%- for post in posts -%} {%- if post.extra["chapter"] != chapter -%} {%- if not loop.first -%} {%- endif -%} {# Begin new chapter #} {%- set_global chapter = post.extra["chapter"] -%} {% set chapter_slug = chapter | slugify %}
{% set chapter_section = get_section(path = "edition-3/chapters/" ~ chapter_slug ~ "/_index.md" ) %}

{{ chapter_section.title }}

{{ chapter_section.content | safe }}
{% endif %} {%- endfor -%}

Subscribe

Receive notifications about new posts and other major changes! You can either:

Status Updates

{% set status_updates = get_section(path = "status-update/_index.md") %}

{{ status_updates.description }}

Previous Editions

You are currently viewing the third edition of “Writing an OS in Rust”. In case you are interested in the older editions, you can still find them here:

Note that the older editions are no longer updated and might no longer work or contain outdated information.

Support Me

{{ snippets::support() }}
{% endblock main %} {% block after_main %} {% endblock after_main %}