mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Use a plain template for pages
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
+++
|
||||
title = "Cross Compile Binutils"
|
||||
description = ""
|
||||
template = "plain.html"
|
||||
url = "cross-compile-binutils"
|
||||
+++
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
+++
|
||||
title = "Cross Compiling: libcore"
|
||||
description = ""
|
||||
template = "plain.html"
|
||||
url = "cross-compile-libcore"
|
||||
+++
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
+++
|
||||
title = "Set Up GDB"
|
||||
description = ""
|
||||
template = "plain.html"
|
||||
url = "set-up-gdb"
|
||||
+++
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
+++
|
||||
title = "Talks"
|
||||
url = "talks"
|
||||
template = "plain.html"
|
||||
+++
|
||||
|
||||
- “Open Source OS Development in Rust” at HTWG Konstanz, May 22, 2017: [slides](https://phil-opp.github.io/talk-konstanz-may-2017/)
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
+++
|
||||
title = "Page not found"
|
||||
url = "404.html"
|
||||
template = "plain.html"
|
||||
+++
|
||||
|
||||
Sorry, we've misplaced that URL or it's pointing to something that doesn't exist.
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
+++
|
||||
title = "Contact"
|
||||
url = "contact"
|
||||
template = "plain.html"
|
||||
+++
|
||||
|
||||
Philipp Oppermann
|
||||
|
||||
8
blog/templates/plain.html
Normal file
8
blog/templates/plain.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}{{ page.title }} | {{ config.title }}{% endblock title %}
|
||||
|
||||
{% block main %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
{{ page.content | safe }}
|
||||
{% endblock main %}
|
||||
Reference in New Issue
Block a user