mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-20 16:07:49 +00:00
Make second edition the default (#437)
This commit is contained in:
committed by
GitHub
parent
3e3778d982
commit
97ce17925e
@@ -5,7 +5,7 @@
|
||||
{% block main %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
<div class="warning">
|
||||
<b>Note:</b> This post is part of the upcoming <a href="{{ get_url(path = "./second-edition/_index.md") }}">second edition</a> of “Writing an OS in Rust”, which is still under construction. To read the first edition, go <a href="{{ get_url(path = "/") }}">here</a>.
|
||||
<b>Note:</b> You are viewing the in-progress second edition of “Writing an OS in Rust”. For more content, take a look at the <a href="{{ get_url(path = "/first-edition") }}">first edition</a>.
|
||||
</div>
|
||||
{{ page.content | safe }}
|
||||
{% endblock main %}
|
||||
|
||||
@@ -7,9 +7,7 @@
|
||||
{% block main %}
|
||||
{% set posts_section = get_section(path = "second-edition/posts/_index.md") %}
|
||||
{% set posts = posts_section.pages | reverse %}
|
||||
<div class="warning">
|
||||
<b>Note:</b> You are viewing the upcoming second edition of “Writing an OS in Rust”, which is still under construction. To read the first edition, go <a href="{{ get_url(path = "/") }}">here</a>.
|
||||
</div>
|
||||
|
||||
<div class="front-page-introduction">
|
||||
<p>
|
||||
This blog series creates a small operating system in the
|
||||
@@ -49,6 +47,11 @@
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="posts first-edition">
|
||||
<h2 class="post-title">First Edition</h2>
|
||||
You are viewing the second edition of “Writing an OS in Rust”, which is still in progress. The <a href="{{ get_url(path = "/first-edition") }}">first edition</a> has more content, but is no longer updated. We try our best to incorporate the missing content soon.
|
||||
</div>
|
||||
|
||||
<aside id="recent-updates">
|
||||
<h2>Recent Updates</h2>
|
||||
{% include "recent-updates.html" %}
|
||||
|
||||
@@ -21,9 +21,6 @@
|
||||
</li>{% endfor %}
|
||||
</ol>
|
||||
</aside>
|
||||
<div class="warning">
|
||||
<b>Note:</b> This post is part of the upcoming <a href="{{ get_url(path = "./second-edition/_index.md") }}">second edition</a> of “Writing an OS in Rust”, which is still under construction. To read the first edition, go <a href="{{ get_url(path = "/") }}">here</a>.
|
||||
</div>
|
||||
{{ page.content | safe }}
|
||||
{% endblock main %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user