Open Graph
This commit is contained in:
parent
948818146c
commit
586580f02b
1 changed files with 7 additions and 0 deletions
7
build.sh
7
build.sh
|
@ -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>"
|
||||
|
|
Reference in a new issue