summaryrefslogtreecommitdiff
path: root/index.md.do
blob: 933b1a8b3beee725835af03ceb3e52e986aee36a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/env bash

LISTS=()
while read -r -d $'\0'; do
    LISTS+=("$REPLY")
done < <(find lists -maxdepth 1 -mindepth 1 -type d -not -name '.*' -print0 | sort -z)

for x in "${LISTS[@]}"; do
    printf "%s.html\0" "$x"
done | xargs -r -0 redo-ifchange

cat <<EOF
% Index

Hi there! My name is Viktor Kleen. I'm currently a PhD student in Mathematics at
USC in Los Angeles. My research interests include:

* \$\\AA^1\$--homotopy theory
* Higher category theory
* Algebraic geometry

This site is supposed to serve as a research notebook to get me to write up
ideas and results. As such, it is woefully unpolished, unreliable and generally
to be used at your own risk.

Still, have fun! And please send email with suggestions, corrections,
criticism or general rants to <vkleen+math@17220103.de> if you like.

I have the following categories of posts:

EOF

for x in "${LISTS[@]}"; do
    printf "* [%s](%s)\n" "$(<$x/title)" "$x.html"
    while read -r -d $'\n'; do
        printf "    %s" "$REPLY"
    done < "$x/preview"
done