index_apache_template

This commit is contained in:
gauthiier 2018-12-13 11:00:10 +01:00
parent 2f6fe4f8cc
commit 952b3f7586
6 changed files with 16 additions and 6 deletions

BIN
+++/back.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

1
.gitignore vendored
View File

@ -5,3 +5,4 @@
+++/bb15.png +++/bb15.png
+++/533201N0032129W_from_the_Sea_poster.png +++/533201N0032129W_from_the_Sea_poster.png
+++/key.asc +++/key.asc
+++/index.html

5
gen.py
View File

@ -268,6 +268,11 @@ if __name__ == '__main__':
except IOError as err: except IOError as err:
print err; print err;
# robots.txt?
robots_in = os.path.join('.', 'robots.txt')
if os.path.isfile(indx_txt):
shutil.copy(robots_in, output_dir)
template.close(); template.close();
content_indx_template.close(); content_indx_template.close();
out.close(); out.close();

View File

@ -1,16 +1,18 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<link rel="icon" href="../+++/jules-henri.ico" type="image/x-icon">
<title>Index of /gauthiier.info/[[dir]]</title> <title>Index of /gauthiier.info/[[dir]]</title>
<link rel="stylesheet" type="text/css" href="../+++/lestyle.css"/> <link rel="stylesheet" type="text/css" href="../+++/lestyle.css"/>
<meta name="keywords" content="david gauthier, gauthiier, davidgauthier, dviid"> <meta name="keywords" content="david gauthier, gauthiier, davidgauthier, dviid">
</head> </head>
<body> <body>
<div id="index_tile"><h1>Index of /gauthiier.info/[[dir]]</h1></div> <div id="index_tile"><h1>Index of /gauthiier.info/[[dir]]</h1></div>
<ul> <div style=" margin-left: 20px;">
<li><a href=".."> Parent Directory</a></li> <a href=".."><img src="../+++/back.gif"></a>
<!--[[info]]--> <a href=".." style=" margin-left: 5px;"> Parent Directory</a>
</ul> </div>
<div class="lst"> <div class="lst">
<ul> <ul>
[[content]] [[content]]
@ -19,4 +21,4 @@
<address>Apache Server at gauthiier.info Port 80</address> <address>Apache Server at gauthiier.info Port 80</address>
</body> </body>
</html> </html>

View File

@ -2,7 +2,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="keywords" content="david gauthier, gauthiier, davidgauthier, dviid"> <meta name="keywords" content="david gauthier, gauthiier, davidgauthier, dviid">
<meta name="description" content="David Gauthier (b.1979, CA) - selected index of work."> <meta name="description" content="David Gauthier (b.1979, CA) - selected index of works">
<link rel="icon" href="+++/jules-henri.ico" type="image/x-icon"> <link rel="icon" href="+++/jules-henri.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="+++/lestyle.css"/> <link rel="stylesheet" type="text/css" href="+++/lestyle.css"/>
<link rel="pgpkey" href="+++/key.asc"/> <link rel="pgpkey" href="+++/key.asc"/>

2
robots.txt Normal file
View File

@ -0,0 +1,2 @@
User-agent: *
Disallow: /+++/