Add Smileys page

This commit is contained in:
Fabien Freling 2019-06-19 19:14:23 +02:00
parent ed656af469
commit e32c8fa862
4 changed files with 57 additions and 8 deletions

View file

@ -1,4 +1,4 @@
include_rules
# TODO: autogenerate
: |> ./generate_listing.sh > %o |> index.md
: foreach *.md |> !article |>

27
articles/generate_listing.sh Executable file
View file

@ -0,0 +1,27 @@
#!/usr/bin/env bash
set -euo pipefail
cat << EOF
---
title: Articles
---
<ul>
EOF
for file in *.md; do
if [ $file = "index.md" ]; then
continue
fi
link=$(basename $file .md).html
date=$(sed -n 's/date: \(.*\)/\1/p' $file)
title=$(sed -n 's/title: \(.*\)/\1/p' $file)
echo "<li>$date: <a href=\"$link\">$title</a></li>"
done
cat << EOF
</ul>
EOF

View file

@ -1,7 +0,0 @@
---
title: Articles
---
<ul>
<li><a href="mantis.html">The mantis shrimp</a></li>
</ul>

29
articles/smileys.md Normal file
View file

@ -0,0 +1,29 @@
---
title: Smileys
date: 2016-02-23
---
- `(\/) i_i (\/)`
- `(> ' ' )>`
- `(>'~'<)`
- `(\/) (;,,,;) (\/)`
- `ò_ó`
- `ಠ_ಠ`
- `ಥ_ಥ`
- `(╯°□°)╯︵ ┻━┻`
- `(ノಠ益ಠ)ノ彡┻━┻`
- `¯\(°_o)/¯`
- `ʕノ•ᴥ•ʔノ ︵ ┻━┻`
- `(☞゚∀゚)☞`
- ` ¯\_(ツ)_/¯`
- `ᕕ(ᐛ)ᕗ`
- `┬┴┬┴┤ʕ•ᴥ├┬┴┬┴`
- ` ( •_•)`
- ` ( •_•)>⌐■-■`
- ` (⌐■_■)`
- `(・_・;)`
- `i(ò_ó)--o )x_x)`
- ` (ง ͠° ͟ʖ ͡°)ง`
- `ↀܫↀ`
- `ᕦ(ò_óˇ)ᕤ`