make the .nano.html version actually good

This commit is contained in:
2025-07-23 09:31:06 +02:00
parent b08c426877
commit edc0a2d5ba
8 changed files with 68 additions and 50 deletions

View File

@@ -1,13 +1,22 @@
#import "../common.typ": *
#import "../simple-page-layout.typ": variant-link
#let rev() = [
#if git_rev != "" {[
Git revision #flink("https://github.com/alex-s168/website/tree/" + git_rev)[\##short_git_rev]
]}
#if git_commit_date != "" {[
Modified at #git_commit_date
]}
#if is-nano [
#if git_commit_date != "" [
Last modified: #git_commit_date
#if git_rev != "" [
(Git \##raw(short_git_rev))
]
]
] else [
#if git_rev != "" [
Git revision #flink("https://github.com/alex-s168/website/tree/" + git_rev)[\##short_git_rev] \
]
#if git_commit_date != "" [
Modified at #git_commit_date
]
]
]
// authors is list of people in common:people
@@ -16,3 +25,9 @@
Written by #authors.map((p) => person(p)).join[, ]
]
#let pdf-readability() = {
if is-web {section[
Note that the #variant-link([PDF Version], ".min.pdf") of this page might look a bit better styling wise.
]}
}