metadata
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<title>Bench - Aaron Gutierrez</title>
|
||||
<title>Bench – Aaron Gutierrez</title>
|
||||
<link rel="stylesheet" href="/site.css" >
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:title" content="Bench – Aaron Gutierrez">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:image" content="/img/bench/041.780.jpg">
|
||||
<meta property="og:image:type" content="image/jpeg">
|
||||
<meta property="og:image:width" content="780">
|
||||
<meta property="og:url" content="https://www.aarongutierrez.com/bench/{1}">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
|
||||
@@ -4,6 +4,12 @@
|
||||
<title>Bench #{1} - Aaron Gutierrez</title>
|
||||
<link rel="stylesheet" href="/site.css" >
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta property="og:title" content="Bench #{1}">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:image" content="{2}">
|
||||
<meta property="og:image:type" content="image/jpeg">
|
||||
<meta property="og:image:width" content="780">
|
||||
<meta property="og:url" content="https://www.aarongutierrez.com/bench/{1}">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
|
||||
4
pub.py
4
pub.py
@@ -129,8 +129,10 @@ def make_bench_view(idx, prev, nxt):
|
||||
|
||||
body = bench_view_ftm.format(idx)
|
||||
|
||||
preview = "/img/bench/{0:03d}.780.jpg".format(idx)
|
||||
|
||||
with open('bench/view/{}.html'.format(idx), 'w') as out:
|
||||
out.write(template.format(body, idx, prev, nxt))
|
||||
out.write(template.format(body, idx, preview, prev, nxt))
|
||||
|
||||
def upload_bench():
|
||||
imgs = os.listdir('img/bench')
|
||||
|
||||
Reference in New Issue
Block a user