mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 04:53:01 +02:00
This commit adds a landing page, generated from the top README.md. It is a temporary fix before adding a proper web ui. Run ./gen.sh from the directory to update index.html using the template. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
13 lines
347 B
Bash
Executable File
13 lines
347 B
Bash
Executable File
#!/bin/sh
|
|
# Generate index.html from Infix README.md
|
|
|
|
BASE=../../../../..
|
|
TITLE="Welcome to Infix :-)"
|
|
|
|
cp $BASE/doc/logo.png .
|
|
cat $BASE/README.md \
|
|
| tail +2 \
|
|
| sed 's/doc\/logo.png/logo.png/' \
|
|
| pandoc -f markdown+implicit_figures+link_attributes -o index.html \
|
|
--metadata pagetitle="$TITLE" --template=hpstr-template.html
|