mirror of
https://github.com/alex-s168/website.git
synced 2025-09-10 01:05:07 +02:00
html title
This commit is contained in:
@@ -4,9 +4,11 @@
|
|||||||
#let small-font-size = if is-web { 14pt } else { 9pt }
|
#let small-font-size = if is-web { 14pt } else { 9pt }
|
||||||
#let default-font-size = if is-web { 17pt } else { 10pt }
|
#let default-font-size = if is-web { 17pt } else { 10pt }
|
||||||
|
|
||||||
#let core-page-style(content) = {context html-opt-elem("html", (:))[
|
#let core-page-style(html-head: [], content) = {context html-opt-elem("html", (:))[
|
||||||
#context if is-html() {
|
#context if is-html() {
|
||||||
html.elem("head",[
|
html.elem("head",[
|
||||||
|
#html-head
|
||||||
|
|
||||||
#html.elem("meta", attrs:(charset:"utf-8"))
|
#html.elem("meta", attrs:(charset:"utf-8"))
|
||||||
#html.elem("meta", attrs:(name:"viewport", content:"width=device-width, initial-scale=1"))
|
#html.elem("meta", attrs:(name:"viewport", content:"width=device-width, initial-scale=1"))
|
||||||
|
|
||||||
|
@@ -3,7 +3,8 @@
|
|||||||
#import "../core-page-style.typ": *
|
#import "../core-page-style.typ": *
|
||||||
|
|
||||||
#simple-page(
|
#simple-page(
|
||||||
gen-table-of-contents: true
|
gen-table-of-contents: true,
|
||||||
|
[The making of the favicon]
|
||||||
)[
|
)[
|
||||||
|
|
||||||
#section[
|
#section[
|
||||||
|
@@ -3,7 +3,8 @@
|
|||||||
#import "../core-page-style.typ": *
|
#import "../core-page-style.typ": *
|
||||||
|
|
||||||
#simple-page(
|
#simple-page(
|
||||||
gen-table-of-contents: true
|
gen-table-of-contents: true,
|
||||||
|
[Introduction to RegEx]
|
||||||
)[
|
)[
|
||||||
|
|
||||||
#section[
|
#section[
|
||||||
|
@@ -3,7 +3,8 @@
|
|||||||
#import "../core-page-style.typ": *
|
#import "../core-page-style.typ": *
|
||||||
|
|
||||||
#simple-page(
|
#simple-page(
|
||||||
gen-table-of-contents: true
|
gen-table-of-contents: true,
|
||||||
|
[Alexander Nutz - Approaches to Pattern Matching]
|
||||||
)[
|
)[
|
||||||
|
|
||||||
#section[
|
#section[
|
||||||
@@ -324,11 +325,12 @@
|
|||||||
\
|
\
|
||||||
As a simple, *non realistic* example, let's imagine a CPU (core) that has one bit operations execution unit,
|
As a simple, *non realistic* example, let's imagine a CPU (core) that has one bit operations execution unit,
|
||||||
and two ALU execution units:
|
and two ALU execution units:
|
||||||
#context html-frame[```
|
#context html-frame(table(
|
||||||
+---------+-----+-----+
|
columns: 3,
|
||||||
| Bit Ops | ALU | ALU |
|
inset: 7pt,
|
||||||
+---------+-----+-----+
|
[ Bit Ops ],
|
||||||
```]
|
[ ALU ], [ ALU ],
|
||||||
|
))
|
||||||
This means that the CPU can execute two instructions in the ALU unit and one instruction in the bit ops unit at the same time.
|
This means that the CPU can execute two instructions in the ALU unit and one instruction in the bit ops unit at the same time.
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -351,7 +353,7 @@
|
|||||||
|
|
||||||
#section[
|
#section[
|
||||||
= Conclusion
|
= Conclusion
|
||||||
One can see how pattern matching dialects are the best option by far.
|
One can see how pattern matching dialects are the best option to approach pattern matching.
|
||||||
|
|
||||||
\
|
\
|
||||||
Someone wanted me to insert a takeaway here, but I won't.
|
Someone wanted me to insert a takeaway here, but I won't.
|
||||||
|
@@ -17,6 +17,7 @@
|
|||||||
gen-table-of-contents: false,
|
gen-table-of-contents: false,
|
||||||
gen-index-ref: false,
|
gen-index-ref: false,
|
||||||
min-pdf-link: false,
|
min-pdf-link: false,
|
||||||
|
[Alexander Nutz]
|
||||||
)[
|
)[
|
||||||
|
|
||||||
#br()
|
#br()
|
||||||
|
@@ -9,7 +9,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#simple-page(
|
#simple-page(
|
||||||
gen-table-of-contents: true
|
gen-table-of-contents: true,
|
||||||
|
[etc-nand]
|
||||||
)[
|
)[
|
||||||
|
|
||||||
|
|
||||||
|
@@ -17,9 +17,16 @@
|
|||||||
gen-table-of-contents: true,
|
gen-table-of-contents: true,
|
||||||
gen-index-ref: true,
|
gen-index-ref: true,
|
||||||
min-pdf-link: true,
|
min-pdf-link: true,
|
||||||
|
html-title,
|
||||||
content) = {
|
content) = {
|
||||||
|
|
||||||
core-page-style[
|
let head = context if is-html() {
|
||||||
|
[
|
||||||
|
#html.elem("title", html-title)
|
||||||
|
]
|
||||||
|
} else {[]}
|
||||||
|
|
||||||
|
core-page-style(html-head: head)[
|
||||||
#if is-web {
|
#if is-web {
|
||||||
let off = 3;
|
let off = 3;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user