mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-20 16:07:49 +00:00
Merge branch 'master' into edition-3
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{% extends "edition-2/base.html" %}
|
||||
|
||||
{% import "macros.html" as macros %}
|
||||
{% import "edition-2/macros.html" as macros %}
|
||||
{% import "snippets.html" as snippets %}
|
||||
|
||||
{% block title %}{{ config.title }}{% endblock title %}
|
||||
|
||||
@@ -8,20 +9,10 @@
|
||||
{% set posts_section = get_section(path = "edition-2/posts/_index.md") %}
|
||||
{% set posts = posts_section.pages %}
|
||||
|
||||
<h1 style="visibility: hidden; height: 0px; margin: 0px; padding: 0px;">Writing an OS in Rust</h1>
|
||||
|
||||
<div class="front-page-introduction">
|
||||
<p>
|
||||
This blog series creates a small operating system in the
|
||||
<a href="https://www.rust-lang.org/">Rust programming language</a>. 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
|
||||
<a href="https://github.com/phil-opp/blog_os">Github repository</a>.
|
||||
</p>
|
||||
<p>Latest post:
|
||||
{% set latest_post = posts|last %}
|
||||
<strong><a href="{{ latest_post.path | safe }}">{{ latest_post.title }}</a></strong>
|
||||
</p>
|
||||
</div>
|
||||
{{ section.content
|
||||
| replace(from="<!-- latest-post -->", to=macros::latest_post(posts=posts))
|
||||
| safe
|
||||
}}
|
||||
|
||||
<div>
|
||||
{%- set chapter = "none" -%}
|
||||
@@ -71,7 +62,7 @@
|
||||
|
||||
<div class="">
|
||||
<h2>Support Me</h2>
|
||||
{% include "support.html" %}
|
||||
{{ snippets::support() }}
|
||||
</div>
|
||||
{% endblock main %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user