Use zola's page_template feature

This commit is contained in:
Philipp Oppermann
2019-03-14 12:58:10 +01:00
parent c655a61290
commit 82256aaa2f
16 changed files with 15 additions and 14 deletions

View File

@@ -3,4 +3,5 @@ title = "Extra Content"
insert_anchor_links = "left"
render = false
sort_by = "weight"
page_template = "second-edition/extra.html"
+++

View File

@@ -1,7 +1,7 @@
+++
title = "Building on Android"
weight = 3
template = "second-edition/extra.html"
+++
I finally managed to get `blog_os` building on my Android phone using [termux](https://termux.com/). This post explains the necessary steps to set it up.

View File

@@ -2,7 +2,7 @@
title = "Disable the Red Zone"
weight = 1
path = "red-zone"
template = "second-edition/extra.html"
+++
The [red zone] is an optimization of the [System V ABI] that allows functions to temporary use the 128 bytes below its stack frame without adjusting the stack pointer:

View File

@@ -2,7 +2,7 @@
title = "Disable SIMD"
weight = 2
path = "disable-simd"
template = "second-edition/extra.html"
+++
[Single Instruction Multiple Data (SIMD)] instructions are able to perform an operation (e.g. addition) simultaneously on multiple data words, which can speed up programs significantly. The `x86_64` architecture supports various SIMD standards: