mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Set chapter title separately
We avoid the anchor link on mouse-over this way.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
+++
|
||||
title = "Bare Bones"
|
||||
+++
|
||||
|
||||
## Bare Bones
|
||||
|
||||
In this first chapter, we explain how to create an operating system for the `x86_64` architecture step for step. Starting from scratch, we first create a minimal Rust executable that doesn't depend on the standard library. We then turn it into a bootable OS kernel by combining it with a bootloader. The resulting disk image can then be launched in the [QEMU](https://www.qemu.org/) emulator or booted on a real machine.
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
{% set chapter_slug = chapter | slugify %}
|
||||
<div class="posts {{chapter_slug}}">
|
||||
{% set chapter_page = get_page(path = "edition-3/chapters/" ~ chapter_slug ~ ".md" ) %}
|
||||
<h2>{{ chapter_page.title }}</h2>
|
||||
{{ chapter_page.content | safe }}
|
||||
|
||||
{%- endif -%}
|
||||
|
||||
Reference in New Issue
Block a user