Open Graph

This commit is contained in:
Cat /dev/Nulo 2022-02-08 23:29:54 -03:00
parent 948818146c
commit 586580f02b

View file

@ -4,6 +4,13 @@ template () {
echo "<!doctype html>"
echo "<meta charset=utf-8>"
echo "<meta name=viewport content='width=device-width, initial-scale=1.0'>"
echo "<meta name=author content=Nulo>"
echo "<meta property=og:title content='$1'>"
echo "<meta property=og:type content=website>"
if test -n "$base_uri"; then
echo "<meta property=og:url content='${base_uri}${title}.html'>"
fi
echo "<meta property=og:image content=cowboy.svg>"
echo "<link rel=stylesheet href=drip.css>"
echo "<link rel=icon href=cowboy.svg>"
echo "<title>$1</title>"